mirror of
https://github.com/curl/curl.git
synced 2026-07-06 04:07:15 +03:00
I wish I could type. Anyway, this proved it is a good habit to put the NULL
on the left side of comparisons...
This commit is contained in:
parent
cbaecca8e9
commit
7bfe853af3
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ curl_hash_alloc(int slots, curl_hash_dtor dtor)
|
|||
curl_hash *h;
|
||||
|
||||
h = (curl_hash *)malloc(sizeof(curl_hash));
|
||||
if(NULL = h)
|
||||
if(NULL == h)
|
||||
return NULL;
|
||||
|
||||
curl_hash_init(h, slots, dtor);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue