mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 18:41:17 +02:00
12 lines
424 B
C
12 lines
424 B
C
--- main/http.c.orig 2017-10-13 17:46:56 UTC
|
|
+++ main/http.c
|
|
@@ -2098,7 +2098,7 @@ static int __ast_http_load(int reload)
|
|
struct http_uri_redirect *redirect;
|
|
struct ast_flags config_flags = { reload ? CONFIG_FLAG_FILEUNCHANGED : 0 };
|
|
uint32_t bindport = DEFAULT_PORT;
|
|
- RAII_VAR(struct ast_sockaddr *, addrs, NULL, ast_free);
|
|
+ struct ast_sockaddr *addrs = NULL;
|
|
int num_addrs = 0;
|
|
int http_tls_was_enabled = 0;
|
|
|