projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db4b9b3
)
readlog.c: small patch to prevent core dumps when reading certain records
author
Art Cancro
<ajc@citadel.org>
Thu, 3 Sep 1998 15:01:41 +0000
(15:01 +0000)
committer
Art Cancro
<ajc@citadel.org>
Thu, 3 Sep 1998 15:01:41 +0000
(15:01 +0000)
citadel/readlog.c
patch
|
blob
|
history
diff --git
a/citadel/readlog.c
b/citadel/readlog.c
index a518f25c6a8da39a063b59557ce070641043e047..df90761139e964db8f4864d691faf463752911dd 100644
(file)
--- 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, "|"));