diff options
author | Luigi Rizzo <rizzo@icir.org> | 2006-11-27 18:51:10 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2006-11-27 18:51:10 +0000 |
commit | a381d3552e6ee0a2c79a06839b6c6d13bcae7ab9 (patch) | |
tree | 2bca956c93db78fc8b1e0104e1d768488c4dceff /main/http.c | |
parent | 8017bc6e6f0ef07edac7ee76037b473a791733e7 (diff) |
staticize a global variable and remove an unused field structure.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/http.c')
-rw-r--r-- | main/http.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/http.c b/main/http.c index ab70df588..f7e5fb5ba 100644 --- a/main/http.c +++ b/main/http.c @@ -72,7 +72,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #ifdef DO_SSL #include <openssl/ssl.h> #include <openssl/err.h> -SSL_CTX* ssl_ctx; +static SSL_CTX* ssl_ctx; #endif /* DO_SSL */ /* SSL support */ @@ -92,7 +92,6 @@ struct server_instance { SSL *ssl; /* ssl state */ #endif struct sockaddr_in requestor; - ast_http_callback callback; }; /*! |