diff options
Diffstat (limited to 'logger.c')
-rw-r--r-- | logger.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -151,8 +151,7 @@ extern int logger_main(int argc, char **argv) if (fromStdinFlag==TRUE) { /* read from stdin */ - int i=0; - char c; + int c, i=0; while ((c = getc(stdin)) != EOF && i<sizeof(buf1)) { buf1[i++]=c; } |