summaryrefslogtreecommitdiff
path: root/res/res_musiconhold.c
diff options
context:
space:
mode:
authorJames Golovich <james@gnuinter.net>2004-06-29 04:42:19 +0000
committerJames Golovich <james@gnuinter.net>2004-06-29 04:42:19 +0000
commit3d0e3d3c0fe7da976f096b490b2b905f389f5afd (patch)
tree0231db685741e735dc26777b23059f16e3e59a39 /res/res_musiconhold.c
parent560068617a654302b79f5997e7cdc54c56a7f609 (diff)
More formatting cleanups.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3337 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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);