gregames 2002/06/04 12:07:05
Modified: specweb99/specweb99-2.0 mod_specweb99.c
Log:
fix a typo in an assignment statement.
This should limit the stat()s initiated by mod_specweb99 to 1 per second.
Revision Changes Path
1.6 +1 -1 httpd-test/specweb99/specweb99-2.0/mod_specweb99.c
Index: mod_specweb99.c
===================================================================
RCS file: /home/cvs/httpd-test/specweb99/specweb99-2.0/mod_specweb99.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- mod_specweb99.c 3 Jun 2002 21:06:52 -0000 1.5
+++ mod_specweb99.c 4 Jun 2002 19:07:05 -0000 1.6
@@ -343,7 +343,7 @@
now = time(NULL);
if(_my->check == now)
return 0;
- _my->check == now;
+ _my->check = now;
if ((rv = apr_stat(&s, _my->up_path,
APR_FINFO_SIZE | APR_FINFO_MTIME,
@@ -581,7 +581,7 @@
__TIME__);
ap_log_error(APLOG_MARK, APLOG_INFO | APLOG_NOERRNO, 0, s, "%s",
- "$Id: mod_specweb99.c,v 1.5 2002/06/03 21:06:52 gregames Exp $");
+ "$Id: mod_specweb99.c,v 1.6 2002/06/04 19:07:05 gregames Exp $");
return 0;
} /* specweb99_module_init */