aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/formula.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/formula.c
parente49c6b0d673fec46519e3c6fb4150480026f7025 (diff)
strdup() -> xstrdup()
Diffstat (limited to 'FICS/formula.c')
-rw-r--r--FICS/formula.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/formula.c b/FICS/formula.c
index dbdd798..a8487a0 100644
--- a/FICS/formula.c
+++ b/FICS/formula.c
@@ -554,7 +554,7 @@ int SetValidFormula (int p, int clause, char *string)
if (string != NULL) {
string = eatwhite(string);
- *Cur = (*string != '\0' ? strdup (string) : NULL);
+ *Cur = (*string != '\0' ? xstrdup (string) : NULL);
}
else *Cur = NULL;