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:
Michael Jerris 2009-12-03 18:19:30 +00:00
parent 3a902b8971
commit 718671a30d

View File

@ -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];