Commit 7bfe853a authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

I wish I could type. Anyway, this proved it is a good habit to put the NULL

on the left side of comparisons...
parent cbaecca8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);