From 55ae308821fd0c624f213d2d5ab98302922a2842 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sat, 30 Apr 2005 13:50:01 +0000 Subject: [PATCH] Protocols also take a pointer to a sockaddr_in. --- src/include/proto.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/proto.h b/src/include/proto.h index 5ca56ce4..d51c6f3f 100644 --- a/src/include/proto.h +++ b/src/include/proto.h @@ -5,7 +5,8 @@ struct protocol { char *name; - int ( * load ) ( const char *name, + int ( * load ) ( char *url, + struct sockaddr_in *server, int ( * process ) ( unsigned char *data, unsigned int blocknum, unsigned int len,