[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FW: Possible bug in socket-client.c
From: |
Michael Lemke, Sternwarte Bamberg, Phone: +49-951-9522216 |
Subject: |
FW: Possible bug in socket-client.c |
Date: |
Tue, 06 Jan 2004 23:42:42 +0100 |
I haven't seen this is on the list yet so I try again:
While making cvs 1.12.5 compile on VMS again I came across a problem in
src/socket-client.c. Proposed patch against 1.12.5:
A400> cvs -z3 diff -ur "HEAD" socket-client.c
Index: socket-client.c
===================================================================
RCS file: /cvs/ccvs/src/socket-client.c,v
retrieving revision 1.11
diff -u -r1.11 socket-client.c
--- socket-client.c 18 Nov 2003 20:02:23 -0000 1.11
+++ socket-client.c 2 Jan 2004 19:24:16 -0000
@@ -84,7 +84,7 @@
struct buffer *
socket_buffer_initialize( int socket, int input,
- void *memory( struct buffer * ) )
+ void (*memory)( struct buffer * ) )
{
struct socket_buffer *sbuf = xmalloc (sizeof *sbuf);
sbuf->socket = socket;
This makes it conform to the declaration in socket-client.h. Not sure
if it makes it work as intendend, though...
Michael
--
Michael Lemke
Sternwarte Bamberg, University of Erlangen-Nürnberg, Germany
(address@hidden)
- FW: Possible bug in socket-client.c,
Michael Lemke, Sternwarte Bamberg, Phone: +49-951-9522216 <=