diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-10 01:31:09 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-10 01:31:09 +0100 |
commit | 9aabcc4bf2bf8d66a50c6a934f743c5dede3fd43 (patch) | |
tree | b687361165ea191718842e12f53630b0d7bd73c1 /FICS/command.c | |
parent | e49c6b0d673fec46519e3c6fb4150480026f7025 (diff) |
strdup() -> xstrdup()
Diffstat (limited to 'FICS/command.c')
-rw-r--r-- | FICS/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/command.c b/FICS/command.c index a53f305..edc300b 100644 --- a/FICS/command.c +++ b/FICS/command.c @@ -435,7 +435,7 @@ PRIVATE int process_login(int p, char *loginname) if (!*loginname) { /* do something in here? */ } else { - char *loginnameii = strdup(loginname); + char *loginnameii = xstrdup(loginname); stolower(loginname); if (!alphastring(loginname)) { pprintf(p, "\nSorry, names can only consist of lower and upper case letters. Try again.\n"); |