apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject Re: [PATCH] apr_make_os_sock()
Date Sun, 03 Dec 2000 14:50:12 GMT
Jeff Trawick <trawickj@bellsouth.net> writes:

> +apr_status_t apr_make_os_sock(apr_socket_t **apr_sock, apr_os_sock_t *os_sock,
> +                              struct sockaddr *local, struct sockaddr *remote,
> +                              int family, int type, apr_pool_t *cont)
> +{
...
> +        memcpy(&(*apr_sock)->remote_addr->sa.sin, local, 
> +               (*apr_sock)->remote_addr->salen);
> +    }

add code for pool cleanup here :)

> +        
> +    return APR_SUCCESS;
> +}

-- 
Jeff Trawick | trawickj@bellsouth.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message