From: Michael R Sweet Date: Wed, 1 May 2019 20:01:46 +0000 (-0400) Subject: Fix typos in snprintf/vsnprintf emulation code. X-Git-Tag: v2.3b8~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2ad86e03897eaefa49f86b0b3aa8a37910a891f;p=thirdparty%2Fcups.git Fix typos in snprintf/vsnprintf emulation code. --- diff --git a/cups/snprintf.c b/cups/snprintf.c index b7793f95b4..49652e2c43 100644 --- a/cups/snprintf.c +++ b/cups/snprintf.c @@ -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;