aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/httpd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index a02b63a38..9b36101d7 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -1271,7 +1271,9 @@ static int sendCgi(const char *url,
1271 } 1271 }
1272 firstLine = 0; 1272 firstLine = 0;
1273 } 1273 }
1274 bb_full_write(s, rbuf, count); 1274 if (bb_full_write(s, rbuf, count) != count)
1275 break;
1276
1275#ifdef DEBUG 1277#ifdef DEBUG
1276 if (config->debugHttpd) 1278 if (config->debugHttpd)
1277 fprintf(stderr, "cgi read %d bytes\n", count); 1279 fprintf(stderr, "cgi read %d bytes\n", count);