summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-12-01 02:15:14 +0000
committerLuke Leighton <lkcl@samba.org>1999-12-01 02:15:14 +0000
commit6ddfc68e0496dc41f8c9a022a0b04a2066b43c9d (patch)
tree2f8a0996fe269f79e86d6336e4520d3278b442ed /source3/rpcclient
parent7e42174792298c8815acd1ebf34c357aff0de7c3 (diff)
downloadsamba-6ddfc68e0496dc41f8c9a022a0b04a2066b43c9d.tar.gz
samba-6ddfc68e0496dc41f8c9a022a0b04a2066b43c9d.tar.bz2
samba-6ddfc68e0496dc41f8c9a022a0b04a2066b43c9d.zip
sys_select added one more argument (read, write selectors).
(This used to be commit e4d92ff9dfc51735e6932748f66a7c20b2c1cb6a)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/display_srv.c10
-rw-r--r--source3/rpcclient/rpcclient.c4
2 files changed, 7 insertions, 7 deletions
diff --git a/source3/rpcclient/display_srv.c b/source3/rpcclient/display_srv.c
index 9b6cd4b350..f0069c0d53 100644
--- a/source3/rpcclient/display_srv.c
+++ b/source3/rpcclient/display_srv.c
@@ -653,16 +653,16 @@ void display_share_info_2(FILE *out_hnd, enum action_type action,
fstring remark ;
fstring net_name;
fstring path ;
- fstring passwd ;
+ fstring password;
unistr2_to_ascii(net_name, &str2->uni_netname, sizeof(net_name)-1);
unistr2_to_ascii(remark, &str2->uni_remark, sizeof(remark)-1);
unistr2_to_ascii(path, &str2->uni_path, sizeof(path)-1);
- unistr2_to_ascii(passwd, &str2->uni_passwd, sizeof(passwd)-1);
+ unistr2_to_ascii(password, &str2->uni_passwd, sizeof(password)-1);
display_share2(out_hnd, action, net_name, info2->type, remark,
info2->perms, info2->max_uses, info2->num_uses,
- path, passwd);
+ path, password);
break;
}
@@ -1149,7 +1149,7 @@ print shares on a host, level 2
void display_share2(FILE *out_hnd, enum action_type action,
char *const sname, uint32 type, char *const comment,
uint32 perms, uint32 max_uses, uint32 num_uses,
- char *const path, char *const passwd)
+ char *const path, char *const password)
{
switch (action)
{
@@ -1161,7 +1161,7 @@ void display_share2(FILE *out_hnd, enum action_type action,
{
report(out_hnd, "\t%-15.15s%-10.10s%s %x %x %x %s %s\n",
sname, get_share_type_str(type), comment,
- perms, max_uses, num_uses, path, passwd);
+ perms, max_uses, num_uses, path, password);
break;
}
case ACTION_FOOTER:
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index f5dbe3245b..a8546b7733 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -1351,7 +1351,7 @@ static char *complete_cmd_null(char *text, int state)
static void cmd_net(struct client_info *info, int argc, char *argv[])
{
- char opt;
+ int opt;
BOOL net_use = False;
BOOL net_use_del = False;
BOOL net_use_add = False;
@@ -1451,7 +1451,7 @@ static void cmd_set(struct client_info *info, int argc, char *argv[])
{
BOOL interactive = True;
char *cmd_str = NULL;
- char opt;
+ int opt;
extern FILE *dbf;
extern char *optarg;
static pstring servicesf = CONFIGFILE;