]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
gindent
authorwessels <>
Wed, 4 Jun 1997 13:12:23 +0000 (13:12 +0000)
committerwessels <>
Wed, 4 Jun 1997 13:12:23 +0000 (13:12 +0000)
lib/iso3307.c
lib/rfc1738.c

index 24d373e87025b08d0d5435dcab50141ffde2b1d0..420cb59772c2b2f62391658072706555fe1663b4 100644 (file)
@@ -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;
index 57b7ff05f8d5bae1ee076c4b5f2a7d45b1e39859..6407b9349292a16d84bc7c8c199a26fed8921b37 100644 (file)
@@ -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;