projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
fe01674
)
Bad setting (found by Marc Rossi)
author
Brian Aker
<brian@tangent.org>
Wed, 27 Feb 2008 22:16:10 +0000
(14:16 -0800)
committer
Brian Aker
<brian@tangent.org>
Wed, 27 Feb 2008 22:16:10 +0000
(14:16 -0800)
src/utilities.c
patch
|
blob
|
history
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)
{
- u
nsigned in
t set;
+ u
int64_
t set;
memcached_return rc;
if (opt_hash == NULL)
@@
-99,7
+99,7
@@
void process_hash_option(memcached_st *memc, char *opt_hash)
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));