From e91797689b99e255ffdf02b765f349861c97e445 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 22 Jul 2011 13:40:19 +0200 Subject: s3:net_util: pass const sockaddr_storage to net_make_ipc_connection_ex() metze --- source3/utils/net_proto.h | 2 +- source3/utils/net_util.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/utils') diff --git a/source3/utils/net_proto.h b/source3/utils/net_proto.h index bb711437e1..1e89507fa8 100644 --- a/source3/utils/net_proto.h +++ b/source3/utils/net_proto.h @@ -434,7 +434,7 @@ NTSTATUS net_make_ipc_connection(struct net_context *c, unsigned flags, struct cli_state **pcli); NTSTATUS net_make_ipc_connection_ex(struct net_context *c ,const char *domain, const char *server, - struct sockaddr_storage *pss, + const struct sockaddr_storage *pss, unsigned flags, struct cli_state **pcli); const char *net_prompt_pass(struct net_context *c, const char *user); int net_run_function(struct net_context *c, int argc, const char **argv, diff --git a/source3/utils/net_util.c b/source3/utils/net_util.c index 573842a2a2..a151d6ee67 100644 --- a/source3/utils/net_util.c +++ b/source3/utils/net_util.c @@ -499,7 +499,7 @@ NTSTATUS net_make_ipc_connection(struct net_context *c, unsigned flags, NTSTATUS net_make_ipc_connection_ex(struct net_context *c ,const char *domain, const char *server, - struct sockaddr_storage *pss, + const struct sockaddr_storage *pss, unsigned flags, struct cli_state **pcli) { char *server_name = NULL; -- cgit