summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-12-08 00:25:04 +0000
committerLuke Leighton <lkcl@samba.org>1998-12-08 00:25:04 +0000
commit8308c000b2022769644ed8ea1fc772776257c99b (patch)
treed579da06e4af858bf3174345a1c3db97374ec1c4 /source3/rpcclient
parent4323fd4072854069eb9a3fe0dc0c33fb06b19335 (diff)
downloadsamba-8308c000b2022769644ed8ea1fc772776257c99b.tar.gz
samba-8308c000b2022769644ed8ea1fc772776257c99b.tar.bz2
samba-8308c000b2022769644ed8ea1fc772776257c99b.zip
adding srvsvc pipe.
(This used to be commit d06d6369942828ec89e90f99bd0d0d3f91d61d13)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/cmd_lsarpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c
index cfde752901..96f952a789 100644
--- a/source3/rpcclient/cmd_lsarpc.c
+++ b/source3/rpcclient/cmd_lsarpc.c
@@ -131,7 +131,7 @@ void cmd_lsa_lookup_names(struct client_info *info)
int i;
fstring srv_name;
int num_names = 0;
- char *names[10];
+ const char *names[10];
DOM_SID *sids;
int num_sids = 0;
#if 0
@@ -207,7 +207,7 @@ void cmd_lsa_lookup_names(struct client_info *info)
{
if (names[i] != NULL)
{
- free(names[i]);
+ free(((char **)names)[i]);
}
}
}