]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Don't wait for 5 seconds.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Tue, 6 Nov 2012 13:03:57 +0000 (13:03 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Tue, 6 Nov 2012 13:03:57 +0000 (13:03 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10678 7a7537e8-13f0-0310-91df-b6672ffda945

backend/socket.c

index f244d4c290b75754afdcfcabac882c30e0dc4bff..a8cc299eabd5eed8a62acd3579f3700c7092d96b 100644 (file)
@@ -438,17 +438,6 @@ main(int  argc,                            /* I - Number of command-line arguments (6 or 7) */
       _cupsLangPrintFilter(stderr, "INFO", _("Print file sent."));
   }
 
-#ifdef __APPLE__
- /*
-  * Wait up to 5 seconds to get any pending back-channel data...
-  */
-
-  wait_time = time(NULL) + 5;
-  while (wait_time >= time(&current_time))
-    if (wait_bc(device_fd, wait_time - current_time) <= 0)
-      break;
-#endif /* __APPLE__ */
-
   if (waiteof)
   {
    /*