From 19696f22b4bd6585c582e59e98e2b4882d95165c Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Thu, 3 Sep 1998 15:01:41 +0000 Subject: [PATCH] readlog.c: small patch to prevent core dumps when reading certain records --- citadel/readlog.c | 1 + 1 file changed, 1 insertion(+) diff --git a/citadel/readlog.c b/citadel/readlog.c index a518f25c6..df9076113 100644 --- a/citadel/readlog.c +++ b/citadel/readlog.c @@ -40,6 +40,7 @@ main (int argc, char **argv) while (fgets (buf, 256, logfp) != NULL) { buf[strlen (buf) - 1] = 0; + strcat(buf, " "); LogTime = atol (strtok(buf, "|")); LogType = atol (strtok(NULL, "|")); -- 2.39.2