Skip to content

Commit 6020a28

Browse files
committed
[mod_sofia] use SWITCH_TIME_T_FMT
1 parent e343b47 commit 6020a28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mod/endpoints/mod_sofia/sofia_presence.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -4195,7 +4195,7 @@ void sofia_presence_handle_sip_i_subscribe(int status,
41954195

41964196
now = switch_epoch_time_now(NULL);
41974197
sql = switch_mprintf("insert into sip_dialogs (sip_from_user,sip_from_host,call_info,call_info_state,hostname,expires,rcd,profile_name) "
4198-
"values ('%q','%q','%q','seized','%q',%"TIME_T_FMT",%ld,'%q')",
4198+
"values ('%q','%q','%q','seized','%q',%"SWITCH_TIME_T_FMT",%ld,'%q')",
41994199
to_user, to_host, switch_str_nil(p), mod_sofia_globals.hostname,
42004200
switch_epoch_time_now(NULL) + exp_delta, (long)now, profile->name);
42014201

0 commit comments

Comments
 (0)