[commit] r9743 - freeswitch/trunk/src/mod/applications/mod_voicemail
Author: mikej Date: Mon Sep 29 13:36:43 2008 New Revision: 9743 Modified: freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c Log: silence complaining compiler Modified: freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c ============================================================================== --- freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c (original) +++ freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c Mon Sep 29 13:36:43 2008 @@ -2225,7 +2225,7 @@ if(!switch_strlen_zero(vm_timezone)) { char tz_date[80] = ""; - if ((switch_strftime_tz(vm_timezone, profile->date_fmt, tz_date, sizeof(tz_date)) == SWITCH_STATUS_SUCCESS) && !switch_strlen_zero(tz_date)) { + if ((switch_strftime_tz(vm_timezone, profile->date_fmt, tz_date, sizeof(tz_date)) == SWITCH_STATUS_SUCCESS) && !switch_strlen_zero_buf(tz_date)) { switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "voicemail_time", tz_date); } else { switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "voicemail_time", date);
participants (1)
-
Freeswitch SVN