[asterisk-commits] russell: trunk r77792 - /trunk/res/res_agi.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jul 30 14:39:52 CDT 2007
Author: russell
Date: Mon Jul 30 14:39:52 2007
New Revision: 77792
URL: http://svn.digium.com/view/asterisk?view=rev&rev=77792
Log:
Fix the return value of ast_agi_fdprintf() to include the result from ast_carefulwrite()
Modified:
trunk/res/res_agi.c
Modified: trunk/res/res_agi.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_agi.c?view=diff&rev=77792&r1=77791&r2=77792
==============================================================================
--- trunk/res/res_agi.c (original)
+++ trunk/res/res_agi.c Mon Jul 30 14:39:52 2007
@@ -139,9 +139,7 @@
if (agidebug)
ast_verbose("AGI Tx >> %s", buf->str);
- ast_carefulwrite(fd, buf->str, buf->used, 100);
-
- return res;
+ return ast_carefulwrite(fd, buf->str, buf->used, 100);
}
/* launch_netscript: The fastagi handler.
More information about the asterisk-commits
mailing list