staticize a global variable and remove an unused field structure.
authorLuigi Rizzo <rizzo@icir.org>
Mon, 27 Nov 2006 18:51:10 +0000 (18:51 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Mon, 27 Nov 2006 18:51:10 +0000 (18:51 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48062 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/http.c

index ab70df5..f7e5fb5 100644 (file)
@@ -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;
 };
 
 /*!