From: Brett Bryant Date: Fri, 18 Jul 2008 22:19:56 +0000 (+0000) Subject: Fixes problem where manager users loaded from users.conf would be X-Git-Tag: 1.6.2.0-beta1~1638 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41a6477d8250abc15f14104ae04ff3a93f5b08c4;p=thirdparty%2Fasterisk.git 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. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@132242 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/manager.c b/main/manager.c index f7e3daf460..6b7c682163 100644 --- a/main/manager.c +++ b/main/manager.c @@ -4115,6 +4115,7 @@ static int __init_manager(int reload) /* 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] */