code before declaration

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14941 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-09-21 19:57:01 +00:00
parent 6a9ebc5eb5
commit dc6a92d1d8
1 changed files with 1 additions and 1 deletions

View File

@ -362,8 +362,8 @@ static switch_status_t en_say_time(switch_core_session_t *session, char *tosay,
}
if (tz) {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Timezone is [%s]\n", tz);
int check = atoi(tz);
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Timezone is [%s]\n", tz);
if (check) {
switch_time_exp_tz(&tm, target, check);
switch_time_exp_tz(&tm_now, target_now, check);