]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Swap arguments in call to calloc() to match things up (doesn't make a
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Sat, 14 Jun 2003 16:15:05 +0000 (16:15 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Sat, 14 Jun 2003 16:15:05 +0000 (16:15 +0000)
real difference - just cosmetic...)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@3772 7a7537e8-13f0-0310-91df-b6672ffda945

cups/ppd.c

index 7460579fe9ff8f6f05653b5406a24879efe10fb5..e30e9e3e160981c23cb66bade800a723c29bd9ac 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: ppd.c,v 1.104 2003/06/14 16:08:20 mike Exp $"
+ * "$Id: ppd.c,v 1.105 2003/06/14 16:15:05 mike Exp $"
  *
  *   PPD file routines for the Common UNIX Printing System (CUPS).
  *
@@ -455,7 +455,7 @@ ppdOpen(FILE *fp)                   /* I - File to read from */
   * Allocate memory for the PPD file record...
   */
 
-  if ((ppd = calloc(sizeof(ppd_file_t), 1)) == NULL)
+  if ((ppd = calloc(1, sizeof(ppd_file_t))) == NULL)
   {
     ppd_status = PPD_ALLOC_ERROR;
 
@@ -2911,5 +2911,5 @@ ppd_read(FILE *fp,                        /* I - File to read from */
 
 
 /*
- * End of "$Id: ppd.c,v 1.104 2003/06/14 16:08:20 mike Exp $".
+ * End of "$Id: ppd.c,v 1.105 2003/06/14 16:15:05 mike Exp $".
  */