projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbaecca
)
I wish I could type. Anyway, this proved it is a good habit to put the NULL
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 18 Jan 2002 10:36:25 +0000
(10:36 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 18 Jan 2002 10:36:25 +0000
(10:36 +0000)
on the left side of comparisons...
lib/hash.c
patch
|
blob
|
history
diff --git
a/lib/hash.c
b/lib/hash.c
index
15f2029
..
b6f9d76
100644
(file)
--- 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);