diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-11-27 23:48:38 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-11-27 23:48:38 +0100 |
commit | 7e7243143f0bebbe6b851dcf713791d9703c4f0a (patch) | |
tree | 1c27d9c2849338dbf0c64134b110719481a00b62 | |
parent | af19cbb098d6c8c1bea311b628ccb5f1ce897828 (diff) |
Initialize time and file position to 0.stateful-pg
-rw-r--r-- | parsing.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -370,8 +370,8 @@ void process() { } else printf("\tParsing %s\n", file->path); - long pos; - time_t time; + long pos = 0; + time_t time = 0; pg_channel_file_get(channel_id, file, &pos, &time); fseek(f, pos, SEEK_SET); localtime_r(&time, &now_global); |