]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - backend/ipp.c
Load cups into easysw/current.
[thirdparty/cups.git] / backend / ipp.c
index 878f634e1f3999c2e1131f18293e858fcd79d2f3..8061d42cbb0ca5adb04f5a6614552b1f84d829c8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: ipp.c 5241 2006-03-07 22:07:44Z mike $"
+ * "$Id: ipp.c 5553 2006-05-20 12:22:27Z mike $"
  *
  *   IPP backend for the Common UNIX Printing System (CUPS).
  *
@@ -276,7 +276,7 @@ main(int  argc,                             /* I - Number of command-line args */
             *ptr++ = *optptr++;
        *ptr = '\0';
 
-       if (*optptr == '+')
+       if (*optptr == '+' || *optptr == '&')
          optptr ++;
       }
       else
@@ -1215,7 +1215,7 @@ compress_files(int  num_files,            /* I - Number of files */
                *out;                   /* Output file */
   struct stat  outinfo;                /* Output file information */
   char         filename[1024],         /* Temporary filename */
-               buffer[65536];          /* Copy buffer */
+               buffer[32768];          /* Copy buffer */
 
 
   fprintf(stderr, "DEBUG: Compressing %d job files...\n", num_files);
@@ -1263,7 +1263,8 @@ compress_files(int  num_files,            /* I - Number of files */
       fprintf(stderr,
               "DEBUG: File %d compressed to %.1f%% of original size, "
              CUPS_LLFMT " bytes...\n",
-              i + 1, 100.0 * outinfo.st_size / total, outinfo.st_size);
+              i + 1, 100.0 * outinfo.st_size / total,
+             CUPS_LLCAST outinfo.st_size);
   }
 }
 #endif /* HAVE_LIBZ */
@@ -1618,5 +1619,5 @@ sigterm_handler(int sig)          /* I - Signal */
 
 
 /*
- * End of "$Id: ipp.c 5241 2006-03-07 22:07:44Z mike $".
+ * End of "$Id: ipp.c 5553 2006-05-20 12:22:27Z mike $".
  */