]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix typos in snprintf/vsnprintf emulation code.
authorMichael R Sweet <michael.r.sweet@gmail.com>
Wed, 1 May 2019 20:01:46 +0000 (16:01 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Wed, 1 May 2019 20:01:46 +0000 (16:01 -0400)
cups/snprintf.c

index b7793f95b4a958ef6b78346ff6594d1f194a9c59..49652e2c43b55abc415fa6538fd01f1dd3b89e4a 100644 (file)
@@ -1,10 +1,11 @@
 /*
  * 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.
  *
- * Licensed under Apache License v2.0.  See the file "LICENSE" for more information.
+ * Licensed under Apache License v2.0.  See the file "LICENSE" for more
+ * information.
  */
 
 /*
@@ -171,7 +172,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;
 
@@ -202,7 +203,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;
 
@@ -226,7 +227,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;