aboutsummaryrefslogtreecommitdiffstats
path: root/main/manager.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-27 22:06:56 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-27 22:06:56 +0000
commitbec31308c06801ff6170b9bdbed27cb7c3dcfb9c (patch)
tree3630ee5a0a14ae6ee9a94c42beda6054b5bb0e65 /main/manager.c
parentb92384e18833f481cdf28dea1988346ff83a841b (diff)
since these variables all have static duration, none of them need initializers (they default to zero anyway)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49006 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/manager.c')
-rw-r--r--main/manager.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/manager.c b/main/manager.c
index 7a3270de9..c0fa09a47 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -92,16 +92,16 @@ struct eventqent {
char eventdata[1];
};
-static int enabled = 0;
+static int enabled;
static int portno = DEFAULT_MANAGER_PORT;
static int asock = -1;
static int displayconnects = 1;
-static int timestampevents = 0;
+static int timestampevents;
static int httptimeout = 60;
static pthread_t t;
-static int block_sockets = 0;
-static int num_sessions = 0;
+static int block_sockets;
+static int num_sessions;
/* Protected by the sessions list lock */
struct eventqent *master_eventq = NULL;
@@ -187,7 +187,7 @@ struct ast_manager_user {
static AST_LIST_HEAD_STATIC(users, ast_manager_user);
-static struct manager_action *first_action = NULL;
+static struct manager_action *first_action;
AST_MUTEX_DEFINE_STATIC(actionlock);
/*! \brief Convert authority code to string with serveral options */