summaryrefslogtreecommitdiff
path: root/getgbook.c
diff options
context:
space:
mode:
authorNick White <hg@njw.me.uk>2011-08-03 00:34:35 +0100
committerNick White <hg@njw.me.uk>2011-08-03 00:34:35 +0100
commitbbce84ba6c4b7a208bf872e553abc98ed2ecfa20 (patch)
tree06cbe583c552d458ba03c061e384672c6849840c /getgbook.c
parent6b8f282b5b0c0621ebcf6124f6a6cb90fed47297 (diff)
Flush -p stdout per line
Diffstat (limited to 'getgbook.c')
-rw-r--r--getgbook.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/getgbook.c b/getgbook.c
index 1f98fc1..0ffda13 100644
--- a/getgbook.c
+++ b/getgbook.c
@@ -124,6 +124,7 @@ int main(int argc, char *argv[])
printf("%s ", page->name);
if(page->num != -1) printf("%d", page->num);
printf("\n");
+ fflush(stdout);
}
free(page);
}