]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fix progressmsec issue
authorMichael Collins <msc@freeswitch.org>
Fri, 5 Dec 2008 00:05:22 +0000 (00:05 +0000)
committerMichael Collins <msc@freeswitch.org>
Fri, 5 Dec 2008 00:05:22 +0000 (00:05 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10603 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_channel.c

index 4370c7cc230e34a2f2b898d07efacf2e3aee04f6..57aa7b5311370df40116d54aa7236df4aca19a2d 100644 (file)
@@ -2307,7 +2307,7 @@ SWITCH_DECLARE(switch_status_t) switch_channel_set_timestamps(switch_channel_t *
        switch_snprintf(tmp, sizeof(tmp), "%d", progressmsec);
        switch_channel_set_variable(channel, "progressmsec", tmp);
 
-       switch_snprintf(tmp, sizeof(tmp), "%" SWITCH_TIME_T_FMT, progressusec);
+       switch_snprintf(tmp, sizeof(tmp), "%" SWITCH_TIME_T_FMT, progressmsec);
        switch_channel_set_variable(channel, "progress_mediamsec", tmp);
 
        switch_snprintf(tmp, sizeof(tmp), "%d", legbillmsec);