ports/net/asterisk15/files/patch-main__http.c
Guido Falsi 3218099f1b Add asterisk15 port, bringing branch 15 of the asterisk project.
Note that branch 15 is NOT a Long Term Support branch. Asterisk 15
will reach EOL before Asterisk 13.

Requested by:   "Herbert J. Skuhra" <herbert@gojira.at> (thanks for
		help testing)
2018-03-15 21:14:11 +00:00

11 lines
424 B
C

--- main/http.c.orig 2017-12-20 20:39:39 UTC
+++ main/http.c
@@ -2044,7 +2044,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;