[downloader] Abort download immediately if buffer resizing fails

Signed-off-by: Michael Brown <mcb30@ipxe.org>
pull/6/head
Michael Brown 2012-03-27 00:38:19 +01:00
parent 2834f9f6de
commit 9445cb9f8b
1 changed files with 2 additions and 0 deletions

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;
}