diff options
author | Luke Leighton <lkcl@samba.org> | 1999-12-01 02:15:14 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-12-01 02:15:14 +0000 |
commit | e4d92ff9dfc51735e6932748f66a7c20b2c1cb6a (patch) | |
tree | a8ec8fc10a8c63a3bc92235eae9d68f36865fb3a /source/rpcclient | |
parent | 5b5719d6a08130db1062bfa24123cedcdc692bff (diff) | |
download | samba-e4d92ff9dfc51735e6932748f66a7c20b2c1cb6a.tar.gz samba-e4d92ff9dfc51735e6932748f66a7c20b2c1cb6a.tar.xz samba-e4d92ff9dfc51735e6932748f66a7c20b2c1cb6a.zip |
sys_select added one more argument (read, write selectors).
Diffstat (limited to 'source/rpcclient')
-rw-r--r-- | source/rpcclient/display_srv.c | 10 | ||||
-rw-r--r-- | source/rpcclient/rpcclient.c | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/source/rpcclient/display_srv.c b/source/rpcclient/display_srv.c index 9b6cd4b350b..f0069c0d532 100644 --- a/source/rpcclient/display_srv.c +++ b/source/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/source/rpcclient/rpcclient.c b/source/rpcclient/rpcclient.c index f5dbe3245bb..a8546b77335 100644 --- a/source/rpcclient/rpcclient.c +++ b/source/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; |