diff options
Diffstat (limited to 'FICS/playerdb.c')
-rw-r--r-- | FICS/playerdb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FICS/playerdb.c b/FICS/playerdb.c index 83bd16a..b301b99 100644 --- a/FICS/playerdb.c +++ b/FICS/playerdb.c @@ -2436,8 +2436,10 @@ SaveThisMsg(int which, char *line) if (which == 0) return 1; - if (sscanf(line, "%19s", Sender) != 1) + if (sscanf(line, "%19s", Sender) != 1) { warnx("%s: failed to read sender"); + return 0; + } if (which < 0) { p1 = (-which) - 1; |