projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Merge in updates to make sure exit/return is done properly.
[awesomized/libmemcached]
/
libhashkit
/
hsieh.c
diff --git
a/libhashkit/hsieh.c
b/libhashkit/hsieh.c
index ba46ed2cdf71c3b59e1f43691703885722c7c4f5..cb5af8aec74524540fd97afb2b1bac0ffd797c07 100644
(file)
--- a/
libhashkit/hsieh.c
+++ b/
libhashkit/hsieh.c
@@
-23,7
+23,7
@@
uint32_t hashkit_hsieh(const char *key, size_t key_length, void *context __attri
int rem;
if (key_length <= 0 || key == NULL)
- return
0
;
+ return
EXIT_SUCCESS
;
rem = key_length & 3;
key_length >>= 2;