[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: |
Patrick Brown |
Subject: |
Re: problem with code 2003-10-27: CVS Feature Version 1.12.2 Released! |
Date: |
Tue, 18 Nov 2003 12:02:18 -0500 |
Sirs,
The following change may work for the cvs 1.12.2 version in socket_client.c
The orig code ---------
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,
n;
}
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
}
_____________
Let me know if this change is acceptable.
Pat ;)
________________________________________________________________________
This email has been scanned for computer viruses.