diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-07-22 13:40:19 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-07-22 17:06:08 +0200 |
commit | e91797689b99e255ffdf02b765f349861c97e445 (patch) | |
tree | ea26bd2bebc92f0eea46beae7021d54ab1c87e8f /source3/utils | |
parent | f7cd20d43cab0b21a93e9f4a86eb0e114e667b4b (diff) | |
download | samba-e91797689b99e255ffdf02b765f349861c97e445.tar.gz samba-e91797689b99e255ffdf02b765f349861c97e445.tar.bz2 samba-e91797689b99e255ffdf02b765f349861c97e445.zip |
s3:net_util: pass const sockaddr_storage to net_make_ipc_connection_ex()
metze
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_proto.h | 2 | ||||
-rw-r--r-- | source3/utils/net_util.c | 2 |
2 files changed, 2 insertions, 2 deletions
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; |