git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@860 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2006-03-16 01:25:32 +00:00
parent 539ff39995
commit 0673070b11
1 changed files with 4 additions and 1 deletions

View File

@ -106,6 +106,10 @@ SWITCH_DECLARE(int) switch_config_next_pair(switch_config *cfg, char **var, char
*var = *val = NULL;
if (!cfg->path) {
return 0;
}
for (;;) {
cfg->lineno++;
@ -113,7 +117,6 @@ SWITCH_DECLARE(int) switch_config_next_pair(switch_config *cfg, char **var, char
ret = 0;
break;
}
*var = cfg->buf;
if (**var == '[' && (end = strchr(*var, ']')) != 0) {