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
1 changed files with 2 additions and 3 deletions

View File

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