coar        98/01/20 07:17:40

  Modified:    src/modules/standard mod_cgi.c
  Log:
        Bracket some one-line statements (residue of indenting)
  
  Revision  Changes    Path
  1.66      +10 -5     apachen/src/modules/standard/mod_cgi.c
  
  Index: mod_cgi.c
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/modules/standard/mod_cgi.c,v
  retrieving revision 1.65
  retrieving revision 1.66
  diff -u -r1.65 -r1.66
  --- mod_cgi.c 1998/01/07 16:46:46     1.65
  +++ mod_cgi.c 1998/01/20 15:17:39     1.66
  @@ -483,8 +483,9 @@
        char *location, sbuf[MAX_STRING_LEN];
        int ret;
   
  -     if ((ret = scan_script_header_err_buff(r, script_in, sbuf)))
  +     if ((ret = scan_script_header_err_buff(r, script_in, sbuf))) {
            return log_script(r, conf, ret, dbuf, sbuf, script_in, script_err);
  +     }
   
        location = table_get(r->headers_out, "Location");
   
  @@ -492,10 +493,12 @@
   
            /* Soak up all the script output */
            hard_timeout("read from script", r);
  -         while (bgets(argsbuffer, HUGE_STRING_LEN, script_in) > 0)
  +         while (bgets(argsbuffer, HUGE_STRING_LEN, script_in) > 0) {
                continue;
  -         while (bgets(argsbuffer, HUGE_STRING_LEN, script_err) > 0)
  +         }
  +         while (bgets(argsbuffer, HUGE_STRING_LEN, script_err) > 0) {
                continue;
  +         }
            kill_timeout(r);
   
   
  @@ -522,13 +525,15 @@
        }
   
        send_http_header(r);
  -     if (!r->header_only)
  +     if (!r->header_only) {
            send_fb(script_in, r);
  +     }
        bclose(script_in);
   
        soft_timeout("soaking script stderr", r);
  -     while (bgets(argsbuffer, HUGE_STRING_LEN, script_err) > 0)
  +     while (bgets(argsbuffer, HUGE_STRING_LEN, script_err) > 0) {
            continue;
  +     }
        kill_timeout(r);
        bclose(script_err);
       }
  
  
  

Reply via email to