aboutsummaryrefslogtreecommitdiffstats
path: root/proxy/proxy_http_rewriter.c
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/proxy_http_rewriter.c')
-rw-r--r--proxy/proxy_http_rewriter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy/proxy_http_rewriter.c b/proxy/proxy_http_rewriter.c
index 7645ecc..af3f5e7 100644
--- a/proxy/proxy_http_rewriter.c
+++ b/proxy/proxy_http_rewriter.c
@@ -1121,7 +1121,7 @@ http_rewriter_connect( HttpService* service,
RewriteConnection* conn;
int s;
- s = socket_create_inet( SOCKET_STREAM );
+ s = socket_create(address->family, SOCKET_STREAM );
if (s < 0)
return NULL;