Commit 213ecf73 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

su_proxy.c: use su_socket().

parent 7cde151e
......@@ -417,7 +417,7 @@ int forwarder_stream_peer(proxy_t *pr, forwarder_t *f_peer)
goto error;
f->f_socket = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
f->f_socket = su_socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
if (f->f_socket == INVALID_SOCKET) {
SU_DEBUG_1(("%s: socket: %s\n", __func__, su_strerror(su_errno())));
goto error;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment