manoj       99/04/16 18:58:58

  Modified:    pthreads/src/main http_accept.c
  Log:
  Next time I'll read the whole man page. filedes[0] is for reading,
  filedes[1] is for writing.
  
  Revision  Changes    Path
  1.8       +2 -2      apache-apr/pthreads/src/main/http_accept.c
  
  Index: http_accept.c
  ===================================================================
  RCS file: /home/cvs/apache-apr/pthreads/src/main/http_accept.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -u -r1.7 -r1.8
  --- http_accept.c     1999/04/15 20:01:40     1.7
  +++ http_accept.c     1999/04/17 01:58:58     1.8
  @@ -345,8 +345,8 @@
                     "pipe: (pipe_of_death)");
        clean_child_exit(1);
       }
  -    pipe_of_death = pipe_pair_of_death[0];
  -    listenfds[0].fd = pipe_pair_of_death[1];
  +    pipe_of_death = pipe_pair_of_death[1];
  +    listenfds[0].fd = pipe_pair_of_death[0];
       listenfds[0].events = POLLIN;
       listenfds[0].revents = 0;
       for (lr = ap_listeners, i = 1; i <= num_listenfds; lr = lr->next, ++i) {
  
  
  

Reply via email to