You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Chuck Murcko <ch...@hyperreal.com> on 1996/06/11 22:35:40 UTC

cvs commit: apache/src mod_status.c

chuck       96/06/11 13:35:39

  Modified:    src       mod_status.c
  Log:
  Submitted by:	Chuck Murcko
  Add a rudimentary difftime() function for SUNOS4.
  
  Revision  Changes    Path
  1.24      +9 -0      apache/src/mod_status.c
  
  Index: mod_status.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_status.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -C3 -r1.23 -r1.24
  *** mod_status.c	1996/06/07 17:39:26	1.23
  --- mod_status.c	1996/06/11 20:35:36	1.24
  ***************
  *** 136,141 ****
  --- 136,150 ----
    	rprintf(r," %ld second%s",secs,secs==1?"":"s");
    }
    
  + #if defined(SUNOS4)
  + double
  + difftime(time1, time0)
  +         time_t time1, time0;
  + {   
  +         return(time1 - time0);
  + }   
  + #endif
  +     
    /* Main handler for x-httpd-status requests */
    
    /* ID values for command table */