]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix changes to L() flag in Dial().
authorLeif Madsen <leif@leifmadsen.com>
Fri, 21 Jan 2011 16:12:54 +0000 (16:12 +0000)
committerLeif Madsen <leif@leifmadsen.com>
Fri, 21 Jan 2011 16:12:54 +0000 (16:12 +0000)
Tony Mountifield pointed out an error I had in my patch. I was a bit too aggressive
on changing 'seconds' to 'milliseconds'. So I decided to do some additioanl testing
and have no changed just the appropriate lines. One line says milliseconds, and the
other says seconds. Probably should change this to be either just seconds or
milliseconds, but I've spent too much time on this already :)

(issue #18264)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@303273 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_dial.c

index 5ff37ec8378dbcc41c00708d4be855d7db49e58d..5feb39762cff37639b15edbdc43f213d1e0a81be 100644 (file)
@@ -1239,7 +1239,7 @@ static int do_timelimit(struct ast_channel *chan, struct ast_bridge_config *conf
        if (!config->play_warning && !config->start_sound && !config->end_sound && config->timelimit) {
                calldurationlimit->tv_sec = config->timelimit / 1000;
                calldurationlimit->tv_usec = (config->timelimit % 1000) * 1000;
-               ast_verb(3, "Setting call duration limit to %.3lf milliseconds.\n",
+               ast_verb(3, "Setting call duration limit to %.3lf seconds.\n",
                        calldurationlimit->tv_sec + calldurationlimit->tv_usec / 1000000.0);
                config->timelimit = play_to_caller = play_to_callee =
                config->play_warning = config->warning_freq = 0;