forked from Mirrors/freeswitch
code before decl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15761 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
a6886d186a
commit
243b00659f
@ -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]))))) {
|
||||
|
Loading…
Reference in New Issue
Block a user