mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 21:11:03 +03:00
Added missing line to set return status code.
This commit is contained in:
@@ -349,6 +349,7 @@ static int http_socket_deliver_iob ( struct xfer_interface *socket,
|
|||||||
len = line_buffer ( &http->linebuf, iobuf->data,
|
len = line_buffer ( &http->linebuf, iobuf->data,
|
||||||
iob_len ( iobuf ) );
|
iob_len ( iobuf ) );
|
||||||
if ( len < 0 ) {
|
if ( len < 0 ) {
|
||||||
|
rc = len;
|
||||||
DBGC ( http, "HTTP %p could not buffer line: "
|
DBGC ( http, "HTTP %p could not buffer line: "
|
||||||
"%s\n", http, strerror ( rc ) );
|
"%s\n", http, strerror ( rc ) );
|
||||||
goto done;
|
goto done;
|
||||||
|
|||||||
Reference in New Issue
Block a user