aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/utils.c')
-rw-r--r--FICS/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/FICS/utils.c b/FICS/utils.c
index d6a93a9..955d56f 100644
--- a/FICS/utils.c
+++ b/FICS/utils.c
@@ -406,7 +406,7 @@ PUBLIC int psend_file(int p, char *dir, char *file)
}
}
if (!feof(fp)) {
- parray[p].last_file = strdup(fname);
+ parray[p].last_file = xstrdup(fname);
parray[p].last_file_byte = ftell(fp);
pprintf(p, "Type [next] to see next page.\n");
}
@@ -571,7 +571,7 @@ PUBLIC int printablestring(char *str)
return 1;
}
-PUBLIC char *strdup(const char *str)
+PUBLIC char *xstrdup(const char *str)
{
char *tmp;