commit feeb729f04bfc67418f3875ab9521ea764d1e413
parent 7ac6729d9f17343aa600ba2f3578dece274fa38c
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Sat, 15 Dec 2012 22:15:43 +0100
+flush
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/writer.c b/writer.c
@@ -18,6 +18,7 @@ int main(int argc, char **argv) {
if (strncmp(argv[i+1], line, strlen(argv[i+1])) == 0
&& line[strlen(argv[i+1])]) {
fprintf(descriptors[i], "%s", line + strlen(argv[i+1]) + 1);
+ fflush(descriptors[i]);
break;
}
}