[asterisk-commits] tilghman: branch 1.2 r77782 - /branches/1.2/res/res_agi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jul 30 13:40:54 CDT 2007


Author: tilghman
Date: Mon Jul 30 13:40:54 2007
New Revision: 77782

URL: http://svn.digium.com/view/asterisk?view=rev&rev=77782
Log:
Revert change in revision 71656, even though it fixed a bug, because many people were depending upon the (broken) behavior.

Modified:
    branches/1.2/res/res_agi.c

Modified: branches/1.2/res/res_agi.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/res/res_agi.c?view=diff&rev=77782&r1=77781&r2=77782
==============================================================================
--- branches/1.2/res/res_agi.c (original)
+++ branches/1.2/res/res_agi.c Mon Jul 30 13:40:54 2007
@@ -1103,7 +1103,8 @@
 	}
 	fdprintf(agi->fd, "200 result=%d\n", res);
 
-	return res >= 0 ? RESULT_SUCCESS : RESULT_FAILURE;
+	/* Even though this is wrong, users are depending upon this result. */
+	return res;
 }
 
 static int handle_setcallerid(struct ast_channel *chan, AGI *agi, int argc, char **argv)




More information about the asterisk-commits mailing list