]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - berkeley/lpc.c
Merge changes from CUPS 1.6svn-r10390.
[thirdparty/cups.git] / berkeley / lpc.c
index 36d08bd6820fb63a5a8f723c069742278a75be5d..e1003b1b1c1a3882f805598ec1047cc09add86b9 100644 (file)
@@ -3,7 +3,7 @@
  *
  *   "lpc" command for CUPS.
  *
- *   Copyright 2007-2010 by Apple Inc.
+ *   Copyright 2007-2012 by Apple Inc.
  *   Copyright 1997-2006 by Easy Software Products.
  *
  *   These coded instructions, statements, and computer programs are the
@@ -364,7 +364,8 @@ show_status(http_t     *http,               /* I - HTTP connection to server */
 
          for (ptr = printer;
               *ptr != '\0' && *dptr != '\0' && *ptr == *dptr;
-              ptr ++, dptr ++);
+              ptr ++, dptr ++)
+           /* do nothing */;
 
           if (*ptr == '\0' && (*dptr == '\0' || *dptr == ',' ||
                               isspace(*dptr & 255)))