You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@hyperreal.org on 1999/12/02 20:21:11 UTC

cvs commit: apache-2.0/src/lib/apr/threadproc/unix proc.c

rbb         99/12/02 11:21:09

  Modified:    src/lib/apr/threadproc/unix proc.c
  Log:
  Helps to switch on the right variable.
  Submitted by:  Paul Reder
  
  Revision  Changes    Path
  1.12      +2 -2      apache-2.0/src/lib/apr/threadproc/unix/proc.c
  
  Index: proc.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/unix/proc.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- proc.c	1999/12/02 18:36:29	1.11
  +++ proc.c	1999/12/02 19:21:05	1.12
  @@ -125,7 +125,7 @@
       if (out) {
           if ((status = ap_create_pipe(&attr->parent_out, &attr->child_out, 
                                      attr->cntxt)) != APR_SUCCESS) {
  -            switch (in) {
  +            switch (out) {
               case APR_FULL_BLOCK:
                   ap_block_pipe(attr->child_out);
                   ap_block_pipe(attr->parent_out);
  @@ -140,7 +140,7 @@
       if (err) {
           if ((status = ap_create_pipe(&attr->parent_err, &attr->child_err, 
                                      attr->cntxt)) != APR_SUCCESS) {
  -            switch (in) {
  +            switch (err) {
               case APR_FULL_BLOCK:
                   ap_block_pipe(attr->child_err);
                   ap_block_pipe(attr->parent_err);