mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 03:50:31 +00:00
Merge tilghman's patches
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -981,11 +981,14 @@ const char * const zone;
|
||||
|
||||
sp = lclptr;
|
||||
/* Find the right zone record */
|
||||
while (sp != NULL) {
|
||||
if (!strcmp(sp->name,zone))
|
||||
break;
|
||||
sp = sp->next;
|
||||
}
|
||||
if (zone == NULL)
|
||||
sp = NULL;
|
||||
else
|
||||
while (sp != NULL) {
|
||||
if (!strcmp(sp->name,zone))
|
||||
break;
|
||||
sp = sp->next;
|
||||
}
|
||||
|
||||
if (sp == NULL) {
|
||||
ast_tzsetwall();
|
||||
|
Reference in New Issue
Block a user