Displaying 1 result from an estimated 1 matches for "close_sock".
Did you mean:
close_socket
2002 Jul 25
0
Please evaluate my patch for Winbind
...}
+
/* Connect to winbindd socket */
int winbind_open_pipe_sock(void)
***************
*** 158,164 ****
if ((winbindd_fd = socket(AF_UNIX, SOCK_STREAM, 0)) == -1) {
return -1;
}
!
if (connect(winbindd_fd, (struct sockaddr *)&sunaddr,
sizeof(sunaddr)) == -1) {
close_sock();
--- 179,188 ----
if ((winbindd_fd = socket(AF_UNIX, SOCK_STREAM, 0)) == -1) {
return -1;
}
!
! winbindd_fd = make_nonstd_fd( winbindd_fd );
!
!
if (connect(winbindd_fd, (struct sockaddr *)&sunaddr,
sizeof(sunaddr)) == -1) {
close_sock();
***************
*** 167,...