summaryrefslogtreecommitdiff
path: root/networking/httpd_indexcgi.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2008-05-19 09:48:17 +0000
committerBernhard Reutner-Fischer2008-05-19 09:48:17 +0000
commit5e25ddb7d369b6785ec3aaa96cbc0521c22aeb0d (patch)
tree44b7cf5fb706b0816dd4525782ca8c37d07c2f43 /networking/httpd_indexcgi.c
parent636a1f85e89432601c59cdc3239fc867b4adf051 (diff)
downloadbusybox-5e25ddb7d369b6785ec3aaa96cbc0521c22aeb0d.zip
busybox-5e25ddb7d369b6785ec3aaa96cbc0521c22aeb0d.tar.gz
- use STD*_FILENO some more. No object-code changes
Diffstat (limited to 'networking/httpd_indexcgi.c')
-rw-r--r--networking/httpd_indexcgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/httpd_indexcgi.c b/networking/httpd_indexcgi.c
index fd64af3..94c6a69 100644
--- a/networking/httpd_indexcgi.c
+++ b/networking/httpd_indexcgi.c
@@ -125,7 +125,7 @@ static void guarantee(int size)
{
if (buffer + (BUFFER_SIZE-HEADROOM) - dst >= size)
return;
- write(1, buffer, dst - buffer);
+ write(STDOUT_FILENO, buffer, dst - buffer);
dst = buffer;
}