summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0e847a9)
raw | patch | inline | side by side (parent: 0e847a9)
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.
before doing the maintenance work.
src/main.c | patch | blob | history |
diff --git a/src/main.c b/src/main.c
index 470d67d2b22074bc9439e00667351683eed879f7..6d8a025a735bb6367e52cc256c0ecfec1c196356 100644 (file)
--- a/src/main.c
+++ b/src/main.c
if (i >= actions_num)
status = action_usage ();
+ fflush (stdout);
+ fclose (stdout);
+
gl_update (/* request_served = */ 1);
return (status);