aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/command.c')
-rw-r--r--FICS/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/FICS/command.c b/FICS/command.c
index db25991..ab6cd27 100644
--- a/FICS/command.c
+++ b/FICS/command.c
@@ -191,6 +191,7 @@ alias_substitute(alias_type *alias_list, int num_alias, char *com_str,
const size_t diff = atpos - aliasval;
if (diff >= size) { // XXX
+ outalias[0] = '\0';
warnx("%s: diff out of bounds!", __func__);
return;
}