[Asterisk-cvs] asterisk app.c,1.79,1.80
markster
markster
Sun Oct 30 02:06:02 CST 2005
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv13203
Modified Files:
app.c
Log Message:
Actually write audio to file in get_voice (bug #5547)
Index: app.c
===================================================================
RCS file: /usr/cvsroot/asterisk/app.c,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- app.c 26 Oct 2005 18:54:24 -0000 1.79
+++ app.c 30 Oct 2005 06:58:17 -0000 1.80
@@ -210,6 +210,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