]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/main.c
Load cups into easysw/current.
[thirdparty/cups.git] / scheduler / main.c
index 0b8e34c9b201e04cb9ccc0d7c18df7fc58eff2a3..2806c26bc6f1d65d6191bd6e0cd63c9e9a68fec8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: main.c 177 2006-06-21 00:20:03Z jlovell $"
+ * "$Id: main.c 5634 2006-06-06 17:48:27Z mike $"
  *
  *   Scheduler main loop for the Common UNIX Printing System (CUPS).
  *
@@ -357,8 +357,8 @@ main(int  argc,                             /* I - Number of command-line args */
 
   getrlimit(RLIMIT_NOFILE, &limit);
 
-  if (limit.rlim_max > CUPS_MAX_FDS)
-    MaxFDs = CUPS_MAX_FDS;
+  if (limit.rlim_max > FD_SETSIZE)
+    MaxFDs = FD_SETSIZE;
   else
     MaxFDs = limit.rlim_max;
 
@@ -2253,5 +2253,5 @@ usage(int status)                 /* O - Exit status */
 
 
 /*
- * End of "$Id: main.c 177 2006-06-21 00:20:03Z jlovell $".
+ * End of "$Id: main.c 5634 2006-06-06 17:48:27Z mike $".
  */