aboutsummaryrefslogtreecommitdiff
path: root/networking/wget.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/wget.c')
-rw-r--r--networking/wget.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/wget.c b/networking/wget.c
index 88bb09eb2..4521abfcf 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -737,6 +737,8 @@ int wget_main(int argc UNUSED_PARAM, char **argv)
fprintf(sfp, /* "Connection: close\r\n" */ "\r\n");
}
+ fflush(sfp);
+
/*
* Retrieve HTTP response line and check for "200" status code.
*/