mirror of https://github.com/ipxe/ipxe.git
Added missing line to set return status code.
parent
01b3dd4fc3
commit
a5f33ea283
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue