[Asterisk-cvs] asterisk app.c,1.31.2.4,1.31.2.5
russell
russell
Mon Oct 31 20:36:40 CST 2005
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv7280
Modified Files:
Tag: v1-0
app.c
Log Message:
Actually write audio to file in get_voice (issue #5547)
Index: app.c
===================================================================
RCS file: /usr/cvsroot/asterisk/app.c,v
retrieving revision 1.31.2.4
retrieving revision 1.31.2.5
diff -u -d -r1.31.2.4 -r1.31.2.5
--- app.c 14 Jun 2005 21:07:48 -0000 1.31.2.4
+++ app.c 1 Nov 2005 01:28:43 -0000 1.31.2.5
@@ -136,6 +136,13 @@
ast_frfree(f);
break;
}
+ res = ast_writestream(writer, f);
+ if (res < 0) {
+ ast_log(LOG_WARNING, "Failed to write to stream at %s!\n", dest);
+ ast_frfree(f);
+ break;
+ }
+
}
ast_frfree(f);
}
More information about the svn-commits
mailing list