aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_musiconhold.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-07 14:47:51 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-07 14:47:51 +0000
commitdd02eaad89e14597cd03f56798bcbffa68650df3 (patch)
tree8cb24dfdca70811c8a5dd44e0de3e3e48af6b653 /res/res_musiconhold.c
parent436693a702e14e0438fd6af024297b9b997a71ab (diff)
Fix typo in moh output (bug #3265)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4706 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_musiconhold.c')
-rwxr-xr-xres/res_musiconhold.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c
index 6040be1c6..2617f568e 100755
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -525,7 +525,7 @@ static int moh1_exec(struct ast_channel *chan, void *data)
return -1;
}
if (ast_moh_start(chan, NULL)) {
- ast_log(LOG_WARNING, "Unable to start music on hold (class '%s') on channel %s\n", (char *)data, chan->name);
+ ast_log(LOG_WARNING, "Unable to start music on hold for %d seconds on channel %s\n", atoi((char *)data), chan->name);
return -1;
}
res = ast_safe_sleep(chan, atoi(data) * 1000);