freebsd-ports/net/asterisk16/files/patch-main__http.c
Guido Falsi 9b8e085afc - Add asterisk 16.0.0 to ports
- Update g72x module to 1.4.3, which add support for asterisk 16
- Add asterisk16 flavor and conflicts to asterisk modules ports
  which support it
- Add conflicts to other asterisk versions ports
- Add deprecation notice to asterisk15 which will reach EOL on
  2019-10-03
- Fix wording on SOUNDS option description
- Remove old MOVED line for asterisk16 which was for the long removed
  asterisk 1.6 version

Approved by:	portmgr (flavors already approved in the past)
2018-10-31 23:42:52 +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;