[asterisk-commits] oej: branch 1.8 r336440 - /branches/1.8/main/manager.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Sep 19 07:06:50 CDT 2011
Author: oej
Date: Mon Sep 19 07:06:48 2011
New Revision: 336440
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=336440
Log:
Make sure manager_debug option is reset at reload
Modified:
branches/1.8/main/manager.c
Modified: branches/1.8/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/manager.c?view=diff&rev=336440&r1=336439&r2=336440
==============================================================================
--- branches/1.8/main/manager.c (original)
+++ branches/1.8/main/manager.c Mon Sep 19 07:06:48 2011
@@ -873,6 +873,7 @@
static const int DEFAULT_BROKENEVENTSACTION = 0; /*!< Default setting for brokeneventsaction */
static const int DEFAULT_AUTHTIMEOUT = 30; /*!< Default setting for authtimeout */
static const int DEFAULT_AUTHLIMIT = 50; /*!< Default setting for authlimit */
+static const int DEFAULT_MANAGERDEBUG = 0; /*!< Default setting for manager debug */
static int displayconnects;
static int allowmultiplelogin = 1;
@@ -881,6 +882,7 @@
static int broken_events_action;
static int manager_enabled = 0;
static int webmanager_enabled = 0;
+static int manager_debug = 0; /*!< enable some debugging code in the manager */
static int authtimeout;
static int authlimit;
static char *manager_channelvars;
@@ -891,7 +893,6 @@
static int block_sockets;
static int unauth_sessions = 0;
-static int manager_debug; /*!< enable some debugging code in the manager */
/*! \brief
* Descriptor for a manager session, either on the AMI socket or over HTTP.
@@ -6293,6 +6294,7 @@
manager_enabled = DEFAULT_ENABLED;
webmanager_enabled = DEFAULT_WEBENABLED;
+ manager_debug = DEFAULT_MANAGERDEBUG;
displayconnects = DEFAULT_DISPLAYCONNECTS;
broken_events_action = DEFAULT_BROKENEVENTSACTION;
block_sockets = DEFAULT_BLOCKSOCKETS;
More information about the asterisk-commits
mailing list