[Asterisk-cvs] asterisk/apps app_rpt.c,1.2,1.3
citats at lists.digium.com
citats at lists.digium.com
Wed Apr 7 16:12:00 CDT 2004
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/home/citats/cvs/asterisk/apps
Modified Files:
app_rpt.c
Log Message:
Remove extra argument from ast_set_*_format calls
Index: app_rpt.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_rpt.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- app_rpt.c 27 Mar 2004 07:41:33 -0000 1.2
+++ app_rpt.c 7 Apr 2004 20:12:42 -0000 1.3
@@ -378,8 +378,8 @@
myrpt->rxchannel = ast_request(myrpt->rxchanname,AST_FORMAT_SLINEAR,tele);
if (myrpt->rxchannel)
{
- ast_set_read_format(myrpt->rxchannel,AST_FORMAT_SLINEAR, 0);
- ast_set_write_format(myrpt->rxchannel,AST_FORMAT_SLINEAR, 0);
+ ast_set_read_format(myrpt->rxchannel,AST_FORMAT_SLINEAR);
+ ast_set_write_format(myrpt->rxchannel,AST_FORMAT_SLINEAR);
myrpt->rxchannel->whentohangup = 0;
myrpt->rxchannel->appl = "Apprpt";
myrpt->rxchannel->data = "(Repeater Rx)";
@@ -405,8 +405,8 @@
myrpt->txchannel = ast_request(myrpt->txchanname,AST_FORMAT_SLINEAR,tele);
if (myrpt->txchannel)
{
- ast_set_read_format(myrpt->txchannel,AST_FORMAT_SLINEAR, 0);
- ast_set_write_format(myrpt->txchannel,AST_FORMAT_SLINEAR, 0);
+ ast_set_read_format(myrpt->txchannel,AST_FORMAT_SLINEAR);
+ ast_set_write_format(myrpt->txchannel,AST_FORMAT_SLINEAR);
myrpt->txchannel->whentohangup = 0;
myrpt->txchannel->appl = "Apprpt";
myrpt->txchannel->data = "(Repeater Rx)";
More information about the svn-commits
mailing list