ports/net/asterisk13/files/patch-main__http.c
Guido Falsi d3728e419f - Update net/asterisk11 to 11.19.0
- Update net/asterisk13 to 13.5.0
- Add SQLITE2 option default description
- Rename SQLITE option to SQLITE2, which better describes what it really does
- Clean up Makefile and sort option helpers [1]
- Add missed dependencies on openssl, ncurses and iconv [1]
- Add back shabangfix for sample agi scripts
- Make build log verbose [1]
- Regenerated some patches

Suggested by:	koobs (thanks!) [1]
2015-08-08 13:04:49 +00:00

11 lines
424 B
C

--- main/http.c.orig 2015-07-24 22:20:17 UTC
+++ main/http.c
@@ -2080,7 +2080,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;