summaryrefslogtreecommitdiff
path: root/methods/http.cc
diff options
context:
space:
mode:
Diffstat (limited to 'methods/http.cc')
-rw-r--r--methods/http.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/methods/http.cc b/methods/http.cc
index d308d72b0..dc3f0b763 100644
--- a/methods/http.cc
+++ b/methods/http.cc
@@ -827,7 +827,7 @@ bool HttpMethod::Flush(ServerState *Srv)
// on GNU/kFreeBSD, apt dies on /dev/null because non-blocking
// can't be set
if (File->Name() != "/dev/null")
- SetNonBlock(File->Fd(),false);
+ SetNonBlock(File->Fd(),false);
if (Srv->In.WriteSpace() == false)
return true;
@@ -858,7 +858,7 @@ bool HttpMethod::ServerDie(ServerState *Srv)
// on GNU/kFreeBSD, apt dies on /dev/null because non-blocking
// can't be set
if (File->Name() != "/dev/null")
- SetNonBlock(File->Fd(),false);
+ SetNonBlock(File->Fd(),false);
while (Srv->In.WriteSpace() == true)
{
if (Srv->In.Write(File->Fd()) == false)