aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rfc822.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rfc822.c b/rfc822.c
index a3ff263f..15b88f05 100644
--- a/rfc822.c
+++ b/rfc822.c
@@ -439,6 +439,8 @@ int main(int argc, char *argv[])
break;
}
+ longbuf[0] = '\0';
+
while (fgets(buf, sizeof(buf)-1, stdin))
{
if (buf[0] == ' ' || buf[0] == '\t')