[Asterisk-cvs] asterisk/res res_agi.c,1.10.2.6,1.10.2.7

russell at lists.digium.com russell at lists.digium.com
Tue Jun 14 16:23:05 CDT 2005


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

Modified Files:
      Tag: v1-0
	res_agi.c 
Log Message:
oops!


Index: res_agi.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_agi.c,v
retrieving revision 1.10.2.6
retrieving revision 1.10.2.7
diff -u -d -r1.10.2.6 -r1.10.2.7
--- res_agi.c	14 Jun 2005 19:45:49 -0000	1.10.2.6
+++ res_agi.c	14 Jun 2005 20:24:38 -0000	1.10.2.7
@@ -397,9 +397,9 @@
 	if (!strncasecmp(argv[2],"tdd",3)) x = 1;
 	res = ast_channel_setoption(chan,AST_OPTION_TDD,&x,sizeof(char),0);
 	if (res == RESULT_SUCCESS)
-		fprintf(agi->fd, "200 result=1\n");
+		fdprintf(agi->fd, "200 result=1\n");
 	else
-		fprintf(agi->fd, "200 result=0\n");
+		fdprintf(agi->fd, "200 result=0\n");
 	return RESULT_SUCCESS;
 }
 




More information about the svn-commits mailing list