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/talkproc.c | |
parent | e49c6b0d673fec46519e3c6fb4150480026f7025 (diff) |
strdup() -> xstrdup()
Diffstat (limited to 'FICS/talkproc.c')
-rw-r--r-- | FICS/talkproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/talkproc.c b/FICS/talkproc.c index cfd35b6..f04fed4 100644 --- a/FICS/talkproc.c +++ b/FICS/talkproc.c @@ -687,7 +687,7 @@ PRIVATE int notorcen(int p, param_list param, int *num, int max, pprintf(p, "You can't %s yourself.\n", listname); return COM_OK; } - list[*num] = strdup(parray[p1].name); + list[*num] = xstrdup(parray[p1].name); ++(*num); pprintf(p, "%s is now on your %s list.\n", parray[p1].name, listname); if (!connected) |