diff options
Diffstat (limited to 'src/net/tcp/httpcore.c')
-rw-r--r-- | src/net/tcp/httpcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tcp/httpcore.c b/src/net/tcp/httpcore.c index f227e126..d0ad952e 100644 --- a/src/net/tcp/httpcore.c +++ b/src/net/tcp/httpcore.c @@ -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; } |