]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/bnet_server.c
Win32 fix -- remove debug O_NONBLOCK code
[bacula/bacula] / bacula / src / lib / bnet_server.c
index 32940600a2d125afafc3238e2d60b98b061feadf..ef3c2df6df20359ce30479ae93c2de480473e903 100644 (file)
@@ -200,10 +200,6 @@ bnet_thread_server(dlist *addrs, int max_clients, workq_t *client_wq,
             sockaddr_to_ascii(&cli_addr, buf, sizeof(buf));
             V(mutex);
             BSOCK *bs;
-            int oflags = fcntl(newsockfd, F_GETFL, 0);
-            if (oflags & O_NONBLOCK) {
-               Jmsg1(NULL, M_ABORT, 0, _("Nonblocking socket %d.\n"), newsockfd);
-            }
             bs = init_bsock(NULL, newsockfd, "client", buf, fd_ptr->port, &cli_addr);
             if (bs == NULL) {
                Jmsg0(NULL, M_ABORT, 0, _("Could not create client BSOCK.\n"));