freebsd-ports/net/asterisk16/files/patch-main_http.c
Guido Falsi 910dddabdd - Update asterisk16 to 16.12.0
- Asterisk project now embeds pjsip 2.10, get it's distribution
  from github and adapt port
- Remove patch merged upstream
- Refresh patches and rename to current naming scheme
- Reorder some variables to silnce portlint warning
2020-07-17 08:21:54 +00:00

11 lines
424 B
C

--- main/http.c.orig 2020-07-09 15:39:17 UTC
+++ main/http.c
@@ -2086,7 +2086,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;