From a5f33ea28393218f6683ce270074ce0d0eb192e5 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 3 Jul 2007 21:22:12 +0100 Subject: [PATCH] Added missing line to set return status code. --- src/net/tcp/http.c | 1 + 1 file changed, 1 insertion(+) 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;