]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4488 wrong format macro
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 28 Aug 2012 18:17:31 +0000 (13:17 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 28 Aug 2012 18:17:31 +0000 (13:17 -0500)
src/mod/endpoints/mod_sofia/sofia_presence.c

index d7f6d2230364f99ec395803deab9d0c069c6921e..3f07d1c64206adfb805b43bf33fe0b5ac19dc3d1 100644 (file)
@@ -3816,7 +3816,7 @@ void sofia_presence_handle_sip_i_subscribe(int status,
 
                                now = switch_epoch_time_now(NULL);
                                sql = switch_mprintf("insert into sip_dialogs (sip_from_user,sip_from_host,call_info,call_info_state,hostname,expires,rcd,profile_name) "
-                                                                        "values ('%q','%q','%q','seized','%q',%"SWITCH_TIME_T_FMT",%ld,'%q')",
+                                                                        "values ('%q','%q','%q','seized','%q',%"TIME_T_FMT",%ld,'%q')",
                                                                         to_user, to_host, switch_str_nil(p), mod_sofia_globals.hostname, 
                                                                         switch_epoch_time_now(NULL) + exp_delta, (long)now, profile->name);