httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Bloom <...@raleigh.ibm.com>
Subject Re: [PATCH] typo (?) in ap_get_socketdata
Date Sun, 26 Dec 1999 15:46:53 GMT
> >   */
> >  ap_status_t ap_get_socketdata(void **data, char *key, struct socket_t *sock)
> >  {
> > -    if (socket != NULL) {
> > +    if (sock != NULL) {
> >          return ap_get_userdata(data, key, sock->cntxt);
> >      }
> >      else {
> > 
> 
> Arg! I wondered what the fsck was going on... on some platforms,
> like FreeBSD, this compiled no problem. On others, it didn't. I was
> looking for some freaking global somewhere in APR :)

I will take full blame for this one.  A while ago, I tried to remove all
variables whose names were function names.  I thought I caught them all,
obviously one or two slipped through.

Ryan

_______________________________________________________________________
Ryan Bloom		rbb@raleigh.ibm.com
4205 S Miami Blvd	
RTP, NC 27709		

Come to the first official Apache Software Foundation
Conference!  <http://ApacheCon.Com/>



Mime
View raw message