2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-11-26 11:19:17 +00:00

[http] Fix typo in memory allocation

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Kevin Tran 2012-04-27 21:07:12 +01:00 committed by Michael Brown
parent 1fe27a3e0e
commit e01cf6fb3a

View File

@ -664,7 +664,7 @@ static void http_step ( struct http_request *http ) {
/* Allocate dynamic storage */
dynamic = malloc ( sizeof ( *dynamic ) );
if ( ! malloc ) {
if ( ! dynamic ) {
rc = -ENOMEM;
goto err_alloc;
}