X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Ftincctl.c;h=f18dc50ee2f7c919e1af4f0356c4c64a344460e6;hb=38d7e730e619a8b86dfbf68d77773564595f12a1;hp=158dfed89acd3201d0b1d2084565500ffa3a0b2e;hpb=511b51ffe60c20a9091829c03863197b76027716;p=tinc diff --git a/src/tincctl.c b/src/tincctl.c index 158dfed8..f18dc50e 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -1305,7 +1305,7 @@ char *get_my_name(bool verbose) { continue; if(*value) { fclose(f); - return strdup(value); + return replace_name(value); } }