aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2025-04-05 13:53:28 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2025-04-05 13:53:28 +0200
commitd646e78486f3060ba74cf825a90c054e96badbc2 (patch)
tree2aaf291054b92f654b15ee50983fbdc4799ee2c0 /FICS
parent28a92be414145e3b88f73bb3be38e98da0bdebaf (diff)
Set iwant to NULL
Diffstat (limited to 'FICS')
-rw-r--r--FICS/comproc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/FICS/comproc.c b/FICS/comproc.c
index 31f6064..4a0734a 100644
--- a/FICS/comproc.c
+++ b/FICS/comproc.c
@@ -1810,10 +1810,10 @@ FindAndShowFile(int p, param_list param, char *dir)
{
char *iwant, *filenames[1000];
int i;
- static char nullify = '\0';
+// static char nullify = '\0';
if (param[0].type == TYPE_NULL) {
- iwant = &nullify;
+ iwant = NULL;
} else {
iwant = param[0].val.word;
@@ -1867,7 +1867,7 @@ com_mailsource(int p, param_list param)
char fname[MAX_FILENAME_SIZE];
char subj[120];
int count;
- static char nullify = '\0';
+// static char nullify = '\0';
if (!parray[p].registered) {
pprintf(p, "Only registered people can use the mailsource "
@@ -1876,7 +1876,7 @@ com_mailsource(int p, param_list param)
}
if (param[0].type == TYPE_NULL)
- iwant = &nullify;
+ iwant = NULL;
else
iwant = param[0].val.word;
@@ -1930,7 +1930,7 @@ com_mailhelp(int p, param_list param)
char subj[120];
int count;
int lang = parray[p].language;
- static char nullify = '\0';
+// static char nullify = '\0';
if (!parray[p].registered) {
pprintf(p, "Only registered people can use the mailhelp "
@@ -1939,7 +1939,7 @@ com_mailhelp(int p, param_list param)
}
if (param[0].type == TYPE_NULL)
- iwant = &nullify;
+ iwant = NULL;
else
iwant = param[0].val.word;