[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with code 2003-10-27: CVS Feature Version 1.12.2 Released!
From: |
Derek Robert Price |
Subject: |
Re: problem with code 2003-10-27: CVS Feature Version 1.12.2 Released! |
Date: |
Tue, 18 Nov 2003 14:58:13 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Patrick Brown wrote:
>new code -----
>
>struct buffer *
>socket_buffer_initialize( int socket, int input,
> void *memory( struct buffer * ) )
>{
> struct socket_buffer *n;
>
> n = (struct socket_buffer *) xmalloc (sizeof *n);
> n->socket = socket;
> return buf_initialize (input ? socket_buffer_input : NULL,
> input ? NULL : socket_buffer_output,
> input ? NULL : socket_buffer_flush,
> NULL,//(int (*) (void *, int))) NULL,
> socket_buffer_shutdown,
> memory,
> NULL);// maybe it needs to be closure but one is not passed
>}
As Larry Jones pointed out, `n' is the closure. I've committed this
with that change. Thanks.
Derek
- --
*8^)
Email: derek@ximbiot.com
Get CVS support at <http://ximbiot.com>!
- --
You want my advice? Go back to Bulgaria.
- Humphrey Bogart as Rick, _Casablanca_
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
iD8DBQE/unnULD1OTBfyMaQRAiGwAKDpKUD1kxtU2A0o2pWh+5VJ51nirwCgjjxa
z7ueZ2JQS+pz8sTVP1QP9So=
=X7HJ
-----END PGP SIGNATURE-----