2
0
mirror of https://github.com/xcat2/xNBA.git synced 2025-02-15 01:58:22 +00:00

[downloader] Abort download immediately if buffer resizing fails

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2012-03-27 00:38:19 +01:00
parent 2834f9f6de
commit 9445cb9f8b

View File

@ -183,6 +183,8 @@ static int downloader_xfer_deliver ( struct downloader *downloader,
done:
free_iob ( iobuf );
if ( rc != 0 )
downloader_finished ( downloader, rc );
return rc;
}