update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@860 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
539ff39995
commit
0673070b11
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue