[Asterisk-cvs] asterisk/apps app_record.c,1.21,1.21.2.1
russell at lists.digium.com
russell at lists.digium.com
Tue Oct 12 22:23:58 CDT 2004
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv1963/apps
Modified Files:
Tag: v1-0
app_record.c
Log Message:
get rid of extra error message (bug #2633)
Index: app_record.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_record.c,v
retrieving revision 1.21
retrieving revision 1.21.2.1
diff -u -d -r1.21 -r1.21.2.1
--- app_record.c 23 Sep 2004 16:39:33 -0000 1.21
+++ app_record.c 13 Oct 2004 02:24:30 -0000 1.21.2.1
@@ -301,7 +301,7 @@
ast_log(LOG_WARNING, "Could not answer channel '%s'\n", chan->name);
LOCAL_USER_REMOVE(u);
- if (silence > 0) {
+ if ((silence > 0) && rfmt) {
res = ast_set_read_format(chan, rfmt);
if (res)
ast_log(LOG_WARNING, "Unable to restore read format on '%s'\n", chan->name);
More information about the svn-commits
mailing list