Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-who committed Apr 13, 2024
1 parent 9071115 commit 4094056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spit/respond-mc.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ void *respondMC(void *arg) {
free(tmp);

tmp = keyvalueGetString(kv, "nodeHW"); // human readable
keyvalueSetString(tc->cluster->node[nodeid]->info, "nodehw", tmp);
keyvalueSetString(tc->cluster->node[nodeid]->info, "nodehw", tmp ? tmp : "");
free(tmp);

keyvalueSetString(tc->cluster->node[nodeid]->info, "ip", ipaddr);
Expand Down

0 comments on commit 4094056

Please sign in to comment.