put SOCK_CLOEXEC in the right argument, from Harald Barth
This commit is contained in:
@@ -288,7 +288,7 @@ send_via_proxy (krb5_context context,
|
||||
return krb5_eai_to_heim_errno(ret, errno);
|
||||
|
||||
for (a = ai; a != NULL; a = a->ai_next) {
|
||||
s = socket (a->ai_family, a->ai_socktype, a->ai_protocol | SOCK_CLOEXEC);
|
||||
s = socket (a->ai_family, a->ai_socktype | SOCK_CLOEXEC, a->ai_protocol);
|
||||
if (s < 0)
|
||||
continue;
|
||||
rk_cloexec(s);
|
||||
|
Reference in New Issue
Block a user