summaryrefslogtreecommitdiffstats
path: root/src/net/tcp/http.c
diff options
context:
space:
mode:
authorMichael Brown2007-07-03 22:22:12 +0200
committerMichael Brown2007-07-03 22:22:12 +0200
commita5f33ea28393218f6683ce270074ce0d0eb192e5 (patch)
tree1f02105547657b8f729766f4aee9d04589412f05 /src/net/tcp/http.c
parentLine buffer API changed a while ago (diff)
downloadipxe-a5f33ea28393218f6683ce270074ce0d0eb192e5.tar.gz
ipxe-a5f33ea28393218f6683ce270074ce0d0eb192e5.tar.xz
ipxe-a5f33ea28393218f6683ce270074ce0d0eb192e5.zip
Added missing line to set return status code.
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;