summaryrefslogtreecommitdiff
path: root/cups/http-addrlist.c
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2012-02-13 17:18:19 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2012-02-13 17:18:19 +0000
commitbb0d23b21bbbfc11033521e00f3b361b44a17829 (patch)
treeb719a1754d25eb2b05c317093fe89392f611b100 /cups/http-addrlist.c
parent3ee4274c97cc2bc3f886f6ffa6337ec0f829d810 (diff)
downloadcups-bb0d23b21bbbfc11033521e00f3b361b44a17829.tar.gz
Sync up with CUPS 1.6svn-r10269 (changes from Zin TOT merged into cups.org TOT)
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3645 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cups/http-addrlist.c')
-rw-r--r--cups/http-addrlist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cups/http-addrlist.c b/cups/http-addrlist.c
index e6ea4eb62..917150e9c 100644
--- a/cups/http-addrlist.c
+++ b/cups/http-addrlist.c
@@ -32,6 +32,7 @@
#ifdef HAVE_POLL
# include <poll.h>
#endif /* HAVE_POLL */
+#include <sys/fcntl.h>
/*
@@ -178,6 +179,8 @@ httpAddrConnect2(
* Do an asynchronous connect by setting the socket non-blocking...
*/
+ DEBUG_printf(("httpAddrConnect2: Setting non-blocking connect()"));
+
flags = fcntl(*sock, F_GETFL, 0);
if (msec != INT_MAX)
{