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)


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to