[Asterisk-cvs] asterisk/res res_musiconhold.c,1.39.2.2,1.39.2.3

russell at lists.digium.com russell at lists.digium.com
Sat Jan 8 15:49:57 CST 2005


Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv8286/res

Modified Files:
      Tag: v1-0
	res_musiconhold.c 
Log Message:
fix typo (bug #3265)


Index: res_musiconhold.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_musiconhold.c,v
retrieving revision 1.39.2.2
retrieving revision 1.39.2.3
diff -u -d -r1.39.2.2 -r1.39.2.3
--- res_musiconhold.c	6 Jan 2005 05:15:50 -0000	1.39.2.2
+++ res_musiconhold.c	8 Jan 2005 21:54:24 -0000	1.39.2.3
@@ -367,7 +367,7 @@
 		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);




More information about the svn-commits mailing list