]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5389 --resolve
authorJeff Lenk <jeff@jefflenk.com>
Wed, 8 May 2013 13:37:10 +0000 (08:37 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 24 May 2013 13:34:43 +0000 (08:34 -0500)
src/switch_xml.c

index d411e90fe44e31dc63b6d56fd90de53c029c7c41..31915f5f7fe109fc28ad022729f393a79b08ea81 100644 (file)
@@ -1946,7 +1946,7 @@ static switch_status_t switch_xml_locate_user_cache(const char *key, const char
 
                        time_now = switch_micro_time_now();
                        time_expires = atol(expires_lookup);
-                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Cache Info\nTime Now:\t%ld\nExpires:\t%ld\n", time_now, time_expires);
+                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Cache Info\nTime Now:\t%ld\nExpires:\t%ld\n", (long)time_now, (long)time_expires);
                        if (time_expires < time_now) {
                                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Cache expired for %s@%s, doing fresh lookup\n", user_name, domain_name);
                        } else {