X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=net%2Ffreeswitch%2Fpatches%2F490-build-properly-fix-time_t-issues.patch;fp=net%2Ffreeswitch%2Fpatches%2F490-build-properly-fix-time_t-issues.patch;h=f5bcb6287a883e81b84b3fe1b47429d920dfabb3;hb=d71123c303c60c3ff792c0205d8abed0acf71f3e;hp=5da927562c0e52f0ebeafb239c203de30e257438;hpb=136593c76ad21e5c2c91c868db5b4521a1eb6cd5;p=feed%2Ftelephony.git diff --git a/net/freeswitch/patches/490-build-properly-fix-time_t-issues.patch b/net/freeswitch/patches/490-build-properly-fix-time_t-issues.patch index 5da9275..f5bcb62 100644 --- a/net/freeswitch/patches/490-build-properly-fix-time_t-issues.patch +++ b/net/freeswitch/patches/490-build-properly-fix-time_t-issues.patch @@ -85,7 +85,7 @@ The most portable fix for time_t handling is to always cast it to switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "SEIZE SQL %s\n", sql); --- a/src/switch_channel.c +++ b/src/switch_channel.c -@@ -4700,39 +4700,39 @@ SWITCH_DECLARE(switch_status_t) switch_c +@@ -4643,39 +4643,39 @@ SWITCH_DECLARE(switch_status_t) switch_c tt_created = (time_t) (caller_profile->times->created / 1000000); mtt_created = (time_t) (caller_profile->times->created / 1000); @@ -131,7 +131,7 @@ The most portable fix for time_t handling is to always cast it to switch_channel_set_variable(channel, "hold_accum_seconds", tmp); switch_snprintf(tmp, sizeof(tmp), "%" SWITCH_TIME_T_FMT, caller_profile->times->hold_accum); switch_channel_set_variable(channel, "hold_accum_usec", tmp); -@@ -4740,28 +4740,28 @@ SWITCH_DECLARE(switch_status_t) switch_c +@@ -4683,28 +4683,28 @@ SWITCH_DECLARE(switch_status_t) switch_c switch_channel_set_variable(channel, "hold_accum_ms", tmp); tt_resurrected = (time_t) (caller_profile->times->resurrected / 1000000);