projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fixes for previous merges (and additional file added for murmur)
[awesomized/libmemcached]
/
src
/
utilities.c
diff --git
a/src/utilities.c
b/src/utilities.c
index 2094d2186e3a14c3d88ac01236cdf192391ef88d..2a63f9e582a9bf01d9570771c960eaa02344ed0a 100644
(file)
--- a/
src/utilities.c
+++ b/
src/utilities.c
@@
-75,7
+75,7
@@
void help_command(char *command_name, char *description,
void process_hash_option(memcached_st *memc, char *opt_hash)
{
void process_hash_option(memcached_st *memc, char *opt_hash)
{
- u
nsigned in
t set;
+ u
int64_
t set;
memcached_return rc;
if (opt_hash == NULL)
memcached_return rc;
if (opt_hash == NULL)
@@
-99,7
+99,7
@@
void process_hash_option(memcached_st *memc, char *opt_hash)
exit(1);
}
exit(1);
}
- rc= memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_HASH,
&
set);
+ rc= memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_HASH, set);
if (rc != MEMCACHED_SUCCESS)
{
fprintf(stderr, "hash: memcache error %s\n", memcached_strerror(memc, rc));
if (rc != MEMCACHED_SUCCESS)
{
fprintf(stderr, "hash: memcache error %s\n", memcached_strerror(memc, rc));