Skip to content

Commit

Permalink
attempt #2
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander A Oganezov <[email protected]>
  • Loading branch information
frostedcmos authored and Sylvia Oi Yee Chan committed Nov 3, 2020
1 parent 0264dd4 commit adb87d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cart/crt_group.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,9 @@ grp_li_uri_set(struct crt_lookup_item *li, int tag, const char *uri)
}

for (i = 0; i < 255; i++) {
D_ASPRINTF(ui->ui_uri[i], "%s:%d", tmp_uri, base_port + i);
char *tag_uri;
D_ASPRINTF(tag_uri, "%s:%d", tmp_uri, base_port + i);
ui->ui_uri[i] = tag_uri;
}

D_FREE(tmp_uri);
Expand Down

0 comments on commit adb87d1

Please sign in to comment.