]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Misc changes.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Wed, 1 Mar 2000 21:55:50 +0000 (21:55 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Wed, 1 Mar 2000 21:55:50 +0000 (21:55 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@946 7a7537e8-13f0-0310-91df-b6672ffda945

configure.in
scheduler/ipp.c
systemv/lp.c

index cba1e07a6ca8f4fd32bc6b52e61a111e3f8a4a87..e7c18367b8c56dae8c7d1ceea3ea6034e1861161 100644 (file)
@@ -1,5 +1,5 @@
 dnl
-dnl "$Id: configure.in,v 1.32 2000/02/29 14:47:27 mike Exp $"
+dnl "$Id: configure.in,v 1.33 2000/03/01 21:55:48 mike Exp $"
 dnl
 dnl   Configuration script for the Common UNIX Printing System (CUPS).
 dnl
@@ -200,7 +200,7 @@ AC_CHECK_FUNCS(waitpid)
 AC_CHECK_FUNCS(wait3)
 
 dnl Update compiler options...
-if test -n "$GXX"; then
+if test -n "$GCC"; then
        if test -z "$OPTIM"; then
                OPTIM="-O2 -g3"
        fi
@@ -346,5 +346,5 @@ AC_SUBST(CUPS_DOCDIR)
 AC_OUTPUT(Makedefs)
 
 dnl
-dnl End of "$Id: configure.in,v 1.32 2000/02/29 14:47:27 mike Exp $".
+dnl End of "$Id: configure.in,v 1.33 2000/03/01 21:55:48 mike Exp $".
 dnl
index 3930dcb5c03c7005bc6d353c2658b3c44cf16e74..82bef9cd57757108ce01df56e6701fd407f75b78 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: ipp.c,v 1.54 2000/02/25 03:00:54 mike Exp $"
+ * "$Id: ipp.c,v 1.55 2000/03/01 21:55:49 mike Exp $"
  *
  *   IPP routines for the Common UNIX Printing System (CUPS) scheduler.
  *
@@ -2187,6 +2187,8 @@ get_printer_attrs(client_t        *con,   /* I - Client connection */
 
 
   DEBUG_printf(("get_printer_attrs(%08x, %08x)\n", con, uri));
+  LogMessage(L_DEBUG, "get_printer_attrs(%08x, \"%s\")\n", con,
+             uri->values[0].string.text);
 
  /*
   * Is the destination valid?
@@ -3958,5 +3960,5 @@ validate_job(client_t        *con,        /* I - Client connection */
 
 
 /*
- * End of "$Id: ipp.c,v 1.54 2000/02/25 03:00:54 mike Exp $".
+ * End of "$Id: ipp.c,v 1.55 2000/03/01 21:55:49 mike Exp $".
  */
index 9972b9b5161da0d29fbad1ce5b8bd48e59d1ebe4..110c63bae6fd4a17b107fc103e30c6b88ee2c563 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: lp.c,v 1.18 2000/02/28 19:17:46 mike Exp $"
+ * "$Id: lp.c,v 1.19 2000/03/01 21:55:50 mike Exp $"
  *
  *   "lp" command for the Common UNIX Printing System (CUPS).
  *
@@ -216,6 +216,9 @@ main(int  argc,             /* I - Number of command-line arguments */
 
       if (printer == NULL)
       {
+       if (num_dests == 0)
+         num_dests = cupsGetDests(&dests);
+
         for (j = 0, dest = dests; j < num_dests; j ++, dest ++)
          if (dest->is_default)
          {
@@ -268,6 +271,9 @@ main(int  argc,             /* I - Number of command-line arguments */
   {
     if (printer == NULL)
     {
+      if (num_dests == 0)
+       num_dests = cupsGetDests(&dests);
+
       for (j = 0, dest = dests; j < num_dests; j ++, dest ++)
        if (dest->is_default)
        {
@@ -371,5 +377,5 @@ sighandler(int s)   /* I - Signal number */
 
 
 /*
- * End of "$Id: lp.c,v 1.18 2000/02/28 19:17:46 mike Exp $".
+ * End of "$Id: lp.c,v 1.19 2000/03/01 21:55:50 mike Exp $".
  */