aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk11/files/patch-main__http.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/asterisk11/files/patch-main__http.c')
-rw-r--r--net/asterisk11/files/patch-main__http.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/asterisk11/files/patch-main__http.c b/net/asterisk11/files/patch-main__http.c
new file mode 100644
index 000000000000..f82a52bb8470
--- /dev/null
+++ b/net/asterisk11/files/patch-main__http.c
@@ -0,0 +1,11 @@
+--- main/http.c.orig 2013-12-17 23:42:58.982720307 +0100
++++ main/http.c 2013-12-17 23:43:16.054863909 +0100
+@@ -1024,7 +1024,7 @@
+ 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;
+