]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Mirror changes from master.
authorMichael R Sweet <michael.r.sweet@gmail.com>
Wed, 1 May 2019 20:02:34 +0000 (16:02 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Wed, 1 May 2019 20:02:34 +0000 (16:02 -0400)
cups/snprintf.c

index c5d8908c06db16c6a90638cac5cde17fba35f1fa..72b3fc87d649b18791d0b523c67e213f97cf9648 100644 (file)
@@ -1,8 +1,8 @@
 /*
  * snprintf functions for CUPS.
  *
- * Copyright 2007-2013 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products.
+ * Copyright © 2007-2019 by Apple Inc.
+ * Copyright © 1997-2007 by Easy Software Products.
  *
  * These coded instructions, statements, and computer programs are the
  * property of Apple Inc. and are protected by Federal copyright
@@ -177,7 +177,7 @@ _cups_vsnprintf(char       *buffer, /* O - Output buffer */
              break;
 
            sprintf(temp, tformat, va_arg(ap, double));
-           templen = strlen(temp):
+           templen = strlen(temp);
 
             bytes += (int)templen;
 
@@ -208,7 +208,7 @@ _cups_vsnprintf(char       *buffer, /* O - Output buffer */
              break;
 
            sprintf(temp, tformat, va_arg(ap, int));
-           templen = strlen(temp):
+           templen = strlen(temp);
 
             bytes += (int)templen;
 
@@ -232,7 +232,7 @@ _cups_vsnprintf(char       *buffer, /* O - Output buffer */
              break;
 
            sprintf(temp, tformat, va_arg(ap, void *));
-           templen = strlen(temp):
+           templen = strlen(temp);
 
             bytes += (int)templen;