1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3:net_util: pass const sockaddr_storage to net_make_ipc_connection_ex()

metze
This commit is contained in:
Stefan Metzmacher 2011-07-22 13:40:19 +02:00
parent f7cd20d43c
commit e91797689b
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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;