projects
/
mymail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added some missing fflush for the files we write to.
[mymail.git]
/
mymail.c
diff --git
a/mymail.c
b/mymail.c
index
b25b06b
..
a8fa8c9
100644
(file)
--- a/
mymail.c
+++ b/
mymail.c
@@
-818,6
+818,7
@@
int main(int argc, char **argv) {
optind++;
}
+ fflush(db_file);
fclose(db_file);
for(f = 0; f < nb_fields_to_parse; f++) {
@@
-964,6
+965,7
@@
int main(int argc, char **argv) {
}
if(output_file != stdout) {
+ fflush(output_file);
fclose(output_file);
}