[asterisk-commits] bbryant: trunk r132242 - /trunk/main/manager.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 18 17:19:57 CDT 2008


Author: bbryant
Date: Fri Jul 18 17:19:56 2008
New Revision: 132242

URL: http://svn.digium.com/view/asterisk?view=rev&rev=132242
Log:
Fixes problem where manager users loaded from users.conf would be 
removed early (before the routine to load the configuration was 
finished) because a variable wasn't initialized.

Modified:
    trunk/main/manager.c

Modified: trunk/main/manager.c
URL: http://svn.digium.com/view/asterisk/trunk/main/manager.c?view=diff&rev=132242&r1=132241&r2=132242
==============================================================================
--- trunk/main/manager.c (original)
+++ trunk/main/manager.c Fri Jul 18 17:19:56 2008
@@ -4115,6 +4115,7 @@
 					/* Insert into list */
 					AST_LIST_INSERT_TAIL(&users, user, list);
 					user->ha = NULL;
+					user->keep = 1;
 					user->readperm = -1;
 					user->writeperm = -1;
 					/* Default displayconnect from [general] */




More information about the asterisk-commits mailing list