[asterisk-commits] kpfleming: branch kpfleming/agi_multiple-api-fix r157301 - /team/kpfleming/ag...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 18 11:37:05 CST 2008


Author: kpfleming
Date: Tue Nov 18 11:37:04 2008
New Revision: 157301

URL: http://svn.digium.com/view/asterisk?view=rev&rev=157301
Log:
correct a logic error found by twilson. thanks\!

Modified:
    team/kpfleming/agi_multiple-api-fix/res/res_agi.c

Modified: team/kpfleming/agi_multiple-api-fix/res/res_agi.c
URL: http://svn.digium.com/view/asterisk/team/kpfleming/agi_multiple-api-fix/res/res_agi.c?view=diff&rev=157301&r1=157300&r2=157301
==============================================================================
--- team/kpfleming/agi_multiple-api-fix/res/res_agi.c (original)
+++ team/kpfleming/agi_multiple-api-fix/res/res_agi.c Tue Nov 18 11:37:04 2008
@@ -2564,8 +2564,8 @@
 				   registered
 				*/
 				(void) ast_agi_unregister(mod, cmd + x - 1);
-				return -1;
 			}
+			return -1;
 		} else {
 			x++;
 		}




More information about the asterisk-commits mailing list