aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/command.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-10 01:31:09 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-10 01:31:09 +0100
commit9aabcc4bf2bf8d66a50c6a934f743c5dede3fd43 (patch)
treeb687361165ea191718842e12f53630b0d7bd73c1 /FICS/command.c
parente49c6b0d673fec46519e3c6fb4150480026f7025 (diff)
strdup() -> xstrdup()
Diffstat (limited to 'FICS/command.c')
-rw-r--r--FICS/command.c2
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");