dougm       02/01/29 08:32:25

  Modified:    xs/Apache/Connection Apache__Connection.h
  Log:
  get Apache::Connection->client_socket working again
  
  Revision  Changes    Path
  1.2       +9 -0      modperl-2.0/xs/Apache/Connection/Apache__Connection.h
  
  Index: Apache__Connection.h
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/xs/Apache/Connection/Apache__Connection.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Apache__Connection.h      19 Nov 2001 17:32:46 -0000      1.1
  +++ Apache__Connection.h      29 Jan 2002 16:32:25 -0000      1.2
  @@ -2,6 +2,8 @@
   apr_socket_t *mpxs_Apache__Connection_client_socket(pTHX_ conn_rec *c,
                                                       apr_socket_t *s)
   {
  +    /* XXX: until minds are made up */
  +#if 0
       apr_socket_t *socket =
           ap_get_module_config(c->conn_config, &core_module);
   
  @@ -10,4 +12,11 @@
       }
   
       return socket;
  +#else
  +    if (s) {
  +        c->client_socket = s;
  +    }
  +
  +    return c->client_socket;
  +#endif
   }
  
  
  


Reply via email to