summaryrefslogtreecommitdiffstats
path: root/src/net/tcp/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tcp/http.c')
-rw-r--r--src/net/tcp/http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/tcp/http.c b/src/net/tcp/http.c
index dcd0d3a3..f81a9b54 100644
--- a/src/net/tcp/http.c
+++ b/src/net/tcp/http.c
@@ -349,6 +349,7 @@ static int http_socket_deliver_iob ( struct xfer_interface *socket,
len = line_buffer ( &http->linebuf, iobuf->data,
iob_len ( iobuf ) );
if ( len < 0 ) {
+ rc = len;
DBGC ( http, "HTTP %p could not buffer line: "
"%s\n", http, strerror ( rc ) );
goto done;