[asterisk-commits] anthonyl: branch anthonyl/8711-managercrash r51192 - /team/anthonyl/8711-mana...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jan 17 12:01:15 MST 2007


Author: anthonyl
Date: Wed Jan 17 13:01:15 2007
New Revision: 51192

URL: http://svn.digium.com/view/asterisk?view=rev&rev=51192
Log:
by the time we get to this statment ret can only be -1 or 0

Modified:
    team/anthonyl/8711-managercrash/main/manager.c

Modified: team/anthonyl/8711-managercrash/main/manager.c
URL: http://svn.digium.com/view/asterisk/team/anthonyl/8711-managercrash/main/manager.c?view=diff&rev=51192&r1=51191&r2=51192
==============================================================================
--- team/anthonyl/8711-managercrash/main/manager.c (original)
+++ team/anthonyl/8711-managercrash/main/manager.c Wed Jan 17 13:01:15 2007
@@ -1993,8 +1993,6 @@
 		if (!tmp)
 			astman_send_error(s, m, "Invalid/unknown command");
 	}
-	if (ret)
-		return ret;
 	return process_events(s);
 }
 



More information about the asterisk-commits mailing list