summaryrefslogtreecommitdiff
path: root/net/asterisk13/files/patch-main__http.c
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2014-12-15 14:46:25 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2014-12-15 14:46:25 +0000
commit8962a0c995f536bdf7c495333fe2463b1113fab8 (patch)
treec77ea663141f2f8ae238f15729c86904e862740d /net/asterisk13/files/patch-main__http.c
parentPJSIP is a free and open source multimedia communication library (diff)
Add asterisk13 port.
Fix CONFLICTS for asterisk ports and remove long deleted entries references. Upstream announce: http://blogs.digium.com/2014/10/28/asterisk-13-0-0-now-available/
Diffstat (limited to 'net/asterisk13/files/patch-main__http.c')
-rw-r--r--net/asterisk13/files/patch-main__http.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/asterisk13/files/patch-main__http.c b/net/asterisk13/files/patch-main__http.c
new file mode 100644
index 000000000000..f92375ac7355
--- /dev/null
+++ b/net/asterisk13/files/patch-main__http.c
@@ -0,0 +1,11 @@
+--- main/http.c.orig 2014-07-07 01:10:55 UTC
++++ main/http.c
+@@ -2032,7 +2032,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;
+