httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: httpd-2.0/modules/generators mod_cgi.c
Date Mon, 18 Feb 2002 03:31:27 GMT
jerenkrantz    02/02/17 19:31:27

  Modified:    modules/generators mod_cgi.c
  Log:
  Correctly check script_in variable.
  (script_out and script_err are already correct.)
  PR: 9669
  
  Revision  Changes    Path
  1.117     +1 -1      httpd-2.0/modules/generators/mod_cgi.c
  
  Index: mod_cgi.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_cgi.c,v
  retrieving revision 1.116
  retrieving revision 1.117
  diff -u -r1.116 -r1.117
  --- mod_cgi.c	31 Dec 2001 05:58:59 -0000	1.116
  +++ mod_cgi.c	18 Feb 2002 03:31:27 -0000	1.117
  @@ -465,7 +465,7 @@
               apr_pool_note_subprocess(p, procnew, kill_after_timeout);
   
               *script_in = procnew->out;
  -            if (!script_in)
  +            if (!*script_in)
                   return APR_EBADF;
               apr_file_pipe_timeout_set(*script_in, (int)(r->server->timeout * APR_USEC_PER_SEC));
   
  
  
  

Mime
View raw message