From b884eba104c96b2050e0fab8f244e53a73018867 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 2 Feb 2004 14:46:25 +0000 Subject: const fixes metze (This used to be commit a2beaa0823f899ae9f49c2e624f5e10263c5c26b) --- source4/smbd/server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/smbd/server.c') diff --git a/source4/smbd/server.c b/source4/smbd/server.c index 2ed74a8c4d..90955ff6cb 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -37,7 +37,7 @@ void exit_server(struct server_context *smb, const char *reason) setup a single listener of any type */ static void setup_listen(struct event_context *events, - struct model_ops *model_ops, + const struct model_ops *model_ops, void (*accept_handler)(struct event_context *,struct fd_event *,time_t,uint16), struct in_addr *ifip, unsigned port) { @@ -72,7 +72,7 @@ static void setup_listen(struct event_context *events, add a socket address to the list of events, one event per port */ static void add_socket(struct event_context *events, - struct model_ops *model_ops, + const struct model_ops *model_ops, struct in_addr *ifip) { char *ptr, *tok; -- cgit