[asterisk-commits] russell: trunk r51296 - /trunk/main/manager.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Jan 19 09:30:01 MST 2007


Author: russell
Date: Fri Jan 19 10:30:00 2007
New Revision: 51296

URL: http://svn.digium.com/view/asterisk?view=rev&rev=51296
Log:
Break out of the config processing loop for manager.conf once the correct user
has been found so that 'cat' is non-NULL.  This way, users.conf is only checked
when necessary.  (issue #8852, akohlsmith, committed patch a bit different)

Modified:
    trunk/main/manager.c

Modified: trunk/main/manager.c
URL: http://svn.digium.com/view/asterisk/trunk/main/manager.c?view=diff&rev=51296&r1=51295&r2=51296
==============================================================================
--- trunk/main/manager.c (original)
+++ trunk/main/manager.c Fri Jan 19 10:30:00 2007
@@ -909,6 +909,7 @@
 					s->writetimeout = val;
 			}
 		}
+		break;
 	}
 
 	ast_config_destroy(cfg);



More information about the asterisk-commits mailing list