fielding    97/02/06 17:27:08

  Modified:    src       util_script.c
  Log:
  Minor bug fix.  Always remember to clear a timeout that was set within
  a routine, even when exiting with an error.
  
  Revision  Changes    Path
  1.42      +1 -0      apache/src/util_script.c
  
  Index: util_script.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/util_script.c,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -C3 -r1.41 -r1.42
  *** util_script.c     1997/01/20 04:28:17     1.41
  --- util_script.c     1997/02/07 01:27:07     1.42
  ***************
  *** 306,311 ****
  --- 306,312 ----
        while(1) {
    
        if (fgets(w, MAX_STRING_LEN-1, f) == NULL) {
  +         kill_timeout (r);
            log_reason ("Premature end of script headers", r->filename, r);
            return SERVER_ERROR;
            }
  
  
  

Reply via email to