diff options
author | Michael Brown | 2007-07-03 22:22:12 +0200 |
---|---|---|
committer | Michael Brown | 2007-07-03 22:22:12 +0200 |
commit | a5f33ea28393218f6683ce270074ce0d0eb192e5 (patch) | |
tree | 1f02105547657b8f729766f4aee9d04589412f05 /src/net | |
parent | Line buffer API changed a while ago (diff) | |
download | ipxe-a5f33ea28393218f6683ce270074ce0d0eb192e5.tar.gz ipxe-a5f33ea28393218f6683ce270074ce0d0eb192e5.tar.xz ipxe-a5f33ea28393218f6683ce270074ce0d0eb192e5.zip |
Added missing line to set return status code.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/tcp/http.c | 1 |
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; |