summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_proto.h2
-rw-r--r--source3/utils/net_util.c2
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;