aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_musiconhold.c
diff options
context:
space:
mode:
authorcitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-29 04:42:19 +0000
committercitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-29 04:42:19 +0000
commitfb93977362ce2bcde528c5811bc5231c113e9843 (patch)
tree0231db685741e735dc26777b23059f16e3e59a39 /res/res_musiconhold.c
parent02b97ef043c0964ec46f426939a752b9b13385d2 (diff)
More formatting cleanups.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3337 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_musiconhold.c')
-rwxr-xr-xres/res_musiconhold.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c
index 960f40d2b..311cb4046 100755
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -233,7 +233,7 @@ static void *monmp3thread(void *data)
error_usec = 0;
for(;/* ever */;) {
/* Spawn mp3 player if it's not there */
- if (class->srcfd < 0) {
+ if (class->srcfd < 0) {
if ((class->srcfd = spawn_mp3(class)) < 0) {
ast_log(LOG_WARNING, "unable to spawn mp3player\n");
/* Try again later */
@@ -300,7 +300,7 @@ static void *monmp3thread(void *data)
/* Write data */
if ((res = write(moh->pipe[1], sbuf, res2)) != res2)
if (option_debug)
- ast_log(LOG_DEBUG, "Only wrote %d of %d bytes to pipe\n", res, res2);
+ ast_log(LOG_DEBUG, "Only wrote %d of %d bytes to pipe\n", res, res2);
moh = moh->next;
}
ast_mutex_unlock(&moh_lock);