]> jfr.im git - irc/ircd-hybrid/libopm.git/commitdiff
Don't set fd close on exec REL-3-0 REL-3-0R2
authorstrtok <redacted>
Sun, 22 Dec 2002 21:53:51 +0000 (21:53 +0000)
committerstrtok <redacted>
Sun, 22 Dec 2002 21:53:51 +0000 (21:53 +0000)
src/libopm.c

index 62d1437f7de5c83f75a114e8f41806598cce3d8b..c2cb7a7a88b8cbd2bb06f099e7ea99d9489e5b9f 100644 (file)
@@ -1044,8 +1044,6 @@ static void libopm_do_connect(OPM_T * scanner, OPM_SCAN_T *scan, OPM_CONNECTION_
  
    /* Set socket non blocking */
    fcntl(conn->fd, F_SETFL, O_NONBLOCK);
-   /* Set socket close on exec */
-   fcntl(conn->fd, F_SETFD);
 
    connect(conn->fd, (struct sockaddr *) addr, sizeof(*addr));