projects
/
mymail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66ecdd3
)
Added some missing fflush for the files we write to.
author
Francois Fleuret
<francois@fleuret.org>
Mon, 4 Feb 2013 20:56:43 +0000
(21:56 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Mon, 4 Feb 2013 20:56:43 +0000
(21:56 +0100)
mymail.c
patch
|
blob
|
history
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);
}