Minor simplification to remove one #ifdef/#endif pair

This commit is contained in:
Kevin Easton
2019-02-05 17:39:24 +11:00
parent f27d4d6599
commit ae515a2b15

View File

@@ -3806,13 +3806,12 @@ char *newusername = NULL;
fprintf(outfile,"%s", newusername); fprintf(outfile,"%s", newusername);
#endif #endif
fclose(outfile); fclose(outfile);
new_free(&p);
new_free(&q);
#endif #endif
strlcpy(username, newusername, sizeof username); strlcpy(username, newusername, sizeof username);
if (subargs && *subargs) if (subargs && *subargs)
strlcpy(realname, subargs, sizeof realname); strlcpy(realname, subargs, sizeof realname);
#ifdef IDENT_FAKE
new_free(&p); new_free(&q);
#endif
reconnect_cmd(NULL, newusername, NULL, NULL); reconnect_cmd(NULL, newusername, NULL, NULL);
} }
else else