From 10db93c9788b2e2b7ce3369873898113b83756fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Johan=20Sundstr=C3=B6m?= <oyasumi@gmail.com>
Date: Thu, 5 Aug 1999 14:52:12 +0200
Subject: [PATCH] Tiny fix of tired code

Rev: lib/modules/Protocols.pmod/HTTP.pmod/Query.pike:1.6
---
 lib/modules/Protocols.pmod/HTTP.pmod/Query.pike | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/modules/Protocols.pmod/HTTP.pmod/Query.pike b/lib/modules/Protocols.pmod/HTTP.pmod/Query.pike
index 03e4c0cde8..830bdadfe6 100644
--- a/lib/modules/Protocols.pmod/HTTP.pmod/Query.pike
+++ b/lib/modules/Protocols.pmod/HTTP.pmod/Query.pike
@@ -589,7 +589,7 @@ object file(void|mapping newheader,void|mapping removeheader)
    if (zero_type(headers["content-length"]))
       len=0x7fffffff;
    else 
-      strlen(headerbuf)+4+(int)h["content-length"];
+      len=strlen(headerbuf)+4+(int)h["content-length"];
    return PseudoFile(con,buf,len);
 }
 
-- 
GitLab