projects
/
collection4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e847a9
)
src/main.c: Flush and close STDOUT before calling gl_update().
author
Florian Forster
<ff@octo.it>
Wed, 28 Jul 2010 10:15:12 +0000
(12:15 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Wed, 28 Jul 2010 10:15:12 +0000
(12:15 +0200)
This hopefully signals the browser that the request is done
before doing the maintenance work.
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
470d67d
..
6d8a025
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-123,6
+123,9
@@
static int handle_request (void) /* {{{ */
if (i >= actions_num)
status = action_usage ();
+ fflush (stdout);
+ fclose (stdout);
+
gl_update (/* request_served = */ 1);
return (status);