From: mike Date: Wed, 9 Jan 2002 20:58:31 +0000 (+0000) Subject: Mirror 1.1.x change. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a030b7e783192f2913d7a41c99fad8883c04d646;p=thirdparty%2Fcups.git Mirror 1.1.x change. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/branches/branch-1.2@2025 7a7537e8-13f0-0310-91df-b6672ffda945 --- diff --git a/cups/testppd.c b/cups/testppd.c index 2a32b555d1..078a6cfd4d 100644 --- a/cups/testppd.c +++ b/cups/testppd.c @@ -1,5 +1,5 @@ /* - * "$Id: testppd.c,v 1.18.2.2 2002/01/02 18:04:30 mike Exp $" + * "$Id: testppd.c,v 1.18.2.3 2002/01/09 20:58:31 mike Exp $" * * PPD test program for the Common UNIX Printing System (CUPS). * @@ -45,7 +45,6 @@ main(int argc, /* I - Number of command-line arguments */ char *argv[]) /* I - Command-line arguments */ { int i, j, k, m; /* Looping vars */ - const char *filename; /* File to load */ ppd_file_t *ppd; /* PPD file record */ ppd_size_t *size; /* Size record */ ppd_group_t *group; /* UI group */ @@ -81,7 +80,7 @@ main(int argc, /* I - Number of command-line arguments */ continue; } - printf("FILE: %s\n", filename); + printf("FILE: %s\n", argv[i]); printf(" language_level = %d\n", ppd->language_level); printf(" color_device = %s\n", ppd->color_device ? "TRUE" : "FALSE"); printf(" variable_sizes = %s\n", ppd->variable_sizes ? "TRUE" : "FALSE"); @@ -120,7 +119,7 @@ main(int argc, /* I - Number of command-line arguments */ printf(" nickname = %s\n", ppd->nickname); printf(" shortnickname = %s\n", ppd->shortnickname); printf(" patches = %d bytes\n", - ppd->patches == NULL ? 0 : strlen(ppd->patches)); + ppd->patches == NULL ? 0 : (int)strlen(ppd->patches)); printf(" num_groups = %d\n", ppd->num_groups); for (j = 0, group = ppd->groups; j < ppd->num_groups; j ++, group ++) @@ -197,5 +196,5 @@ main(int argc, /* I - Number of command-line arguments */ /* - * End of "$Id: testppd.c,v 1.18.2.2 2002/01/02 18:04:30 mike Exp $". + * End of "$Id: testppd.c,v 1.18.2.3 2002/01/09 20:58:31 mike Exp $". */