aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hash.c b/lib/hash.c
index 15f2029c8..b6f9d76c0 100644
--- a/lib/hash.c
+++ b/lib/hash.c
@@ -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);