]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - lib/rfc1123.c
SourceFormat: enforcement
[thirdparty/squid.git] / lib / rfc1123.c
index 4174bf8589b394a78c0ccc6b984e6566328a19cc..9bd85a8bc617636218d03473c955bf4f4dfd00a3 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: rfc1123.c,v 1.41 2007/12/06 02:37:15 amosjeffries Exp $
+ * $Id$
  *
  * DEBUG:
  * AUTHOR: Harvest Derived
@@ -61,7 +61,6 @@
 #if HAVE_SYS_TIME_H
 #include <sys/time.h>
 #endif
-#include "assert.h"
 
 #include "util.h"
 
@@ -119,8 +118,8 @@ tmSaneValues(struct tm *tm)
 }
 
 static struct tm *
-            parse_date_elements(const char *day, const char *month, const char *year,
-                                const char *time, const char *zone) {
+parse_date_elements(const char *day, const char *month, const char *year,
+                    const char *time, const char *zone) {
     static struct tm tm;
     char *t;
     memset(&tm, 0, sizeof(tm));
@@ -151,7 +150,7 @@ static struct tm *
 }
 
 static struct tm *
-            parse_date(const char *str) {
+parse_date(const char *str) {
     struct tm *tm;
     static char tmp[64];
     char *t;
@@ -225,7 +224,7 @@ parse_rfc1123(const char *str)
 #elif defined(_SQUID_MSWIN_)
 #elif defined(_SQUID_SGI_)
 #else
-        extern long timezone;
+    extern long timezone;
 #endif
         /*
          * The following assumes a fixed DST offset of 1 hour,
@@ -236,7 +235,7 @@ parse_rfc1123(const char *str)
 #if defined ( _timezone) || defined(_SQUID_WIN32_)
         t -= (_timezone + dst);
 #else
-        t -= (timezone + dst);
+    t -= (timezone + dst);
 #endif
     }
 #endif