Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[http] Fix typo in memory allocation
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
kevintuantran authored and mcb30 committed Apr 27, 2012
1 parent 1fe27a3 commit e01cf6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/tcp/httpcore.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit e01cf6f

Please sign in to comment.