Merge tilghman's patches

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Mark Spencer 23 years ago
parent 27787e21ec
commit 7c59caf852

@ -1955,7 +1955,7 @@ static int play_message_datetime(struct ast_channel *chan, struct ast_vm_user *v
/* Can't think of how other diffs might be helpful, but I'm sure somebody will think of something. */ /* Can't think of how other diffs might be helpful, but I'm sure somebody will think of something. */
#endif #endif
if (the_zone) if (the_zone)
res = ast_say_date_with_format(chan, t, AST_DIGIT_ANY, chan->language, the_zone->msg_format, the_zone->timezone); res = ast_say_date_with_format(chan, t, AST_DIGIT_ANY, chan->language, the_zone->msg_format, &(the_zone->timezone));
else else
res = ast_say_date_with_format(chan, t, AST_DIGIT_ANY, chan->language, "'vm-received' q 'digits/at' IMp", NULL); res = ast_say_date_with_format(chan, t, AST_DIGIT_ANY, chan->language, "'vm-received' q 'digits/at' IMp", NULL);
#if 0 #if 0

@ -981,11 +981,14 @@ const char * const zone;
sp = lclptr; sp = lclptr;
/* Find the right zone record */ /* Find the right zone record */
while (sp != NULL) { if (zone == NULL)
if (!strcmp(sp->name,zone)) sp = NULL;
break; else
sp = sp->next; while (sp != NULL) {
} if (!strcmp(sp->name,zone))
break;
sp = sp->next;
}
if (sp == NULL) { if (sp == NULL) {
ast_tzsetwall(); ast_tzsetwall();

Loading…
Cancel
Save