]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
code before declaration
authorMichael Jerris <mike@jerris.com>
Mon, 21 Sep 2009 19:57:01 +0000 (19:57 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 21 Sep 2009 19:57:01 +0000 (19:57 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14941 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/say/mod_say_en/mod_say_en.c

index 9043ec0896b6e8d94938a39729bc0dd8527dcd52..33a9bd6274c6829654236fa9c12f8d0fa2403f0b 100644 (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);