From 3145e69b206c7a52d3f044bca32ac0bbbb0e7504 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 9 Oct 2010 11:03:40 +0200 Subject: Fix missing initialization for make check. --- rfc822.c | 2 ++ 1 file changed, 2 insertions(+) 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') -- cgit v1.2.3