]> git.sur5r.net Git - bacula/bacula/commitdiff
Win32 fix -- remove debug O_NONBLOCK code
authorKern Sibbald <kern@sibbald.com>
Thu, 18 Aug 2005 15:37:40 +0000 (15:37 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 18 Aug 2005 15:37:40 +0000 (15:37 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2333 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/kes-1.37
bacula/src/lib/bnet_server.c

index 98f08437253c78a6353433b0132ff80a6a7fc944..081ede7fd5dd3f7beff8c19e9a17a236ad361b75 100644 (file)
@@ -5,6 +5,7 @@ General:
 
 Changes to 1.37.36:
 18Aug05
+- Win32 fix -- remove debug O_NONBLOCK code.
 - Fix bug 399 -- make_catalog_backup does not work for sqlite3
 - Implement unloading a volume in a different drive if it
   is needed in the current drive.
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"));