diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-02-02 14:46:25 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2004-02-02 14:46:25 +0000 |
commit | b884eba104c96b2050e0fab8f244e53a73018867 (patch) | |
tree | 1f887645e03948449d7ba8207cdf918381d6db41 /source4/smbd | |
parent | cc4af8d13a7a5d657d8d70d8734b6e9d38261b7a (diff) | |
download | samba-b884eba104c96b2050e0fab8f244e53a73018867.tar.gz samba-b884eba104c96b2050e0fab8f244e53a73018867.tar.bz2 samba-b884eba104c96b2050e0fab8f244e53a73018867.zip |
const fixes
metze
(This used to be commit a2beaa0823f899ae9f49c2e624f5e10263c5c26b)
Diffstat (limited to 'source4/smbd')
-rw-r--r-- | source4/smbd/server.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |