]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
A matching #ifdef S_ISREG on the temporary sb variable used for S_ISREG
authorhno <>
Sun, 7 Apr 2002 03:48:44 +0000 (03:48 +0000)
committerhno <>
Sun, 7 Apr 2002 03:48:44 +0000 (03:48 +0000)
testing..

src/logfile.cc

index 5982e122254fd16505cb65dc138d7f11dabefe7b..973fe7ef37b01f14a5abc02752fd6d874813100f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: logfile.cc,v 1.9 2001/04/17 20:34:53 wessels Exp $
+ * $Id: logfile.cc,v 1.10 2002/04/06 20:48:44 hno Exp $
  *
  * DEBUG: section 50    Log file handling
  * AUTHOR: Duane Wessels
@@ -82,7 +82,9 @@ logfileClose(Logfile * lf)
 void
 logfileRotate(Logfile * lf)
 {
+#ifdef S_ISREG
     struct stat sb;
+#endif
     int i;
     char from[MAXPATHLEN];
     char to[MAXPATHLEN];