From: wessels <> Date: Wed, 4 Jun 1997 13:12:23 +0000 (+0000) Subject: gindent X-Git-Tag: SQUID_3_0_PRE1~4944 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ad8bc8eba856d20561abc94c95cf9f1d0694a806;p=thirdparty%2Fsquid.git gindent --- diff --git a/lib/iso3307.c b/lib/iso3307.c index 24d373e870..420cb59772 100644 --- a/lib/iso3307.c +++ b/lib/iso3307.c @@ -29,9 +29,9 @@ parse_iso3307_time(const char *buf) struct tm tms; time_t t; while (*buf == ' ' || *buf == '\t') - buf++; + buf++; if ((int) strlen(buf) < 14) - return 0; + return 0; memset(&tms, '\0', sizeof(struct tm)); tms.tm_year = (ASCII_DIGIT(buf[2]) * 10) + ASCII_DIGIT(buf[3]); tms.tm_mon = (ASCII_DIGIT(buf[4]) * 10) + ASCII_DIGIT(buf[5]) - 1; diff --git a/lib/rfc1738.c b/lib/rfc1738.c index 57b7ff05f8..6407b93492 100644 --- a/lib/rfc1738.c +++ b/lib/rfc1738.c @@ -1,5 +1,5 @@ /* - * $Id: rfc1738.c,v 1.10 1997/05/26 04:20:40 wessels Exp $ + * $Id: rfc1738.c,v 1.11 1997/06/04 07:12:24 wessels Exp $ * * DEBUG: * AUTHOR: Harvest Derived @@ -155,9 +155,8 @@ rfc1738_escape(const char *url) if (buf == NULL || strlen(url) * 3 > bufsize) { xfree(buf); bufsize = strlen(url) * 3 + 1; - buf = xcalloc (bufsize, 1); + buf = xcalloc(bufsize, 1); } - for (p = url, q = buf; *p != '\0'; p++, q++) { do_escape = 0;