diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-27 22:06:56 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-27 22:06:56 +0000 |
commit | bec31308c06801ff6170b9bdbed27cb7c3dcfb9c (patch) | |
tree | 3630ee5a0a14ae6ee9a94c42beda6054b5bb0e65 /main/http.c | |
parent | b92384e18833f481cdf28dea1988346ff83a841b (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/http.c')
-rw-r--r-- | main/http.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/http.c b/main/http.c index 78b1a960b..330a9c0f4 100644 --- a/main/http.c +++ b/main/http.c @@ -65,14 +65,14 @@ struct ast_http_server_instance { }; AST_MUTEX_DEFINE_STATIC(uris_lock); -static struct ast_http_uri *uris = NULL; +static struct ast_http_uri *uris; static int httpfd = -1; static pthread_t master = AST_PTHREADT_NULL; static char prefix[MAX_PREFIX]; -static int prefix_len = 0; +static int prefix_len; static struct sockaddr_in oldsin; -static int enablestatic=0; +static int enablestatic; /*! \brief Limit the kinds of files we're willing to serve up */ static struct { |