forked from Mirrors/freeswitch
fix code before decl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15776 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
3a902b8971
commit
718671a30d
@ -227,11 +227,12 @@ SWITCH_STANDARD_API(memcache_function)
|
||||
}
|
||||
switch_safe_free(val);
|
||||
} else if ((!strcasecmp(subcmd, "increment") || !strcasecmp(subcmd, "decrement")) && argc > 1) {
|
||||
key = argv[1];
|
||||
uint64_t ivalue;
|
||||
unsigned int offset = 1;
|
||||
switch_bool_t increment = SWITCH_TRUE;
|
||||
char *svalue = NULL;
|
||||
key = argv[1];
|
||||
|
||||
if (argc > 2) {
|
||||
offset = (unsigned int)strtol(argv[2], NULL, 10);
|
||||
svalue = argv[2];
|
||||
|
Loading…
Reference in New Issue
Block a user