From 1d3339c367452811c32311dd57dae543d42a24b2 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 18 Aug 2005 15:37:40 +0000 Subject: [PATCH] Win32 fix -- remove debug O_NONBLOCK code git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2333 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/kes-1.37 | 1 + bacula/src/lib/bnet_server.c | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/bacula/kes-1.37 b/bacula/kes-1.37 index 98f0843725..081ede7fd5 100644 --- a/bacula/kes-1.37 +++ b/bacula/kes-1.37 @@ -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. diff --git a/bacula/src/lib/bnet_server.c b/bacula/src/lib/bnet_server.c index 32940600a2..ef3c2df6df 100644 --- a/bacula/src/lib/bnet_server.c +++ b/bacula/src/lib/bnet_server.c @@ -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")); -- 2.39.5