code before decl

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15761 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Jeff Lenk 2009-12-02 19:00:25 +00:00
parent a6886d186a
commit 243b00659f
1 changed files with 1 additions and 1 deletions

View File

@ -202,9 +202,9 @@ SWITCH_DECLARE(switch_status_t) switch_network_list_add_cidr_token(switch_networ
switch_status_t status = SWITCH_STATUS_SUCCESS;
if (strchr(cidr_str, ',')) {
cidr_str_dup = strdup(cidr_str);
char *argv[32] = { 0 };
int i,argc;
cidr_str_dup = strdup(cidr_str);
switch_assert(cidr_str_dup);
if ((argc = switch_separate_string(cidr_str_dup, ',', argv, (sizeof(argv) / sizeof(argv[0]))))) {