From: Michael Brown Date: Tue, 3 Jul 2007 20:22:12 +0000 (+0100) Subject: Added missing line to set return status code. X-Git-Tag: v0.9.3~314 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5f33ea28393218f6683ce270074ce0d0eb192e5;p=thirdparty%2Fipxe.git Added missing line to set return status code. --- diff --git a/src/net/tcp/http.c b/src/net/tcp/http.c index dcd0d3a36..f81a9b540 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;