From a381d3552e6ee0a2c79a06839b6c6d13bcae7ab9 Mon Sep 17 00:00:00 2001
From: Luigi Rizzo <rizzo@icir.org>
Date: Mon, 27 Nov 2006 18:51:10 +0000
Subject: [PATCH] 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
---
 main/http.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/main/http.c b/main/http.c
index ab70df5885..f7e5fb5baf 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;
 };
 
 /*!
-- 
GitLab