diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/rpc_server/dcerpc_tcp.c | 2 | ||||
-rw-r--r-- | source4/smbd/server.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/rpc_server/dcerpc_tcp.c b/source4/rpc_server/dcerpc_tcp.c index 69cd9cad35..869ee1cb64 100644 --- a/source4/rpc_server/dcerpc_tcp.c +++ b/source4/rpc_server/dcerpc_tcp.c @@ -190,7 +190,7 @@ void init_rpc_session(struct event_context *ev, void *private, int fd) setup a single rpc listener */ static void setup_listen_rpc(struct event_context *events, - struct model_ops *model_ops, + const struct model_ops *model_ops, struct in_addr *ifip, uint32 *port, struct rpc_server_context *r, const struct dcesrv_endpoint *endpoint) 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; |