httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grega...@apache.org
Subject cvs commit: httpd-test/specweb99/specweb99-2.0 mod_specweb99.c
Date Tue, 04 Jun 2002 19:12:00 GMT
gregames    2002/06/04 12:12:00

  Modified:    specweb99/specweb99-2.0 mod_specweb99.c
  Log:
  no functional changes, just a few misc. style cleanups
  
  Revision  Changes    Path
  1.7       +5 -4      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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- mod_specweb99.c	4 Jun 2002 19:07:05 -0000	1.6
  +++ mod_specweb99.c	4 Jun 2002 19:11:59 -0000	1.7
  @@ -337,14 +337,15 @@
       apr_int16_t numrecords, up_uid;
       int e = 0;
       char up_record[UPRLENGTH + 1];
  -    /* stat it, compare to stored stat */
       apr_time_t now;
   
       now = time(NULL);
  -    if(_my->check == now) 
  -	return 0;
  +    if (_my->check == now) { 
  +        return 0;
  +    }
       _my->check = now;
   
  +    /* stat it, compare to stored stat */
       if ((rv = apr_stat(&s, _my->up_path,
   		       APR_FINFO_SIZE | APR_FINFO_MTIME,
   		       r->pool)) != APR_SUCCESS) {
  @@ -581,7 +582,7 @@
   		 __TIME__);
   
       ap_log_error(APLOG_MARK, APLOG_INFO | APLOG_NOERRNO, 0, s, "%s",
  -	    "$Id: mod_specweb99.c,v 1.6 2002/06/04 19:07:05 gregames Exp $");
  +	    "$Id: mod_specweb99.c,v 1.7 2002/06/04 19:11:59 gregames Exp $");
   
       return 0;
   }				/* specweb99_module_init */
  
  
  

Mime
View raw message