diff options
author | Jeremy Allison <jra@samba.org> | 1998-11-10 20:51:25 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-11-10 20:51:25 +0000 |
commit | 375e53826c59c33d52009307f757b71a1fe3d589 (patch) | |
tree | ce9a53fa7e12ef495eb9d3f455e46416a8f22b27 /source3/rpcclient | |
parent | 84934fbfac7644191e09124dd4961c6c08de3b9f (diff) | |
download | samba-375e53826c59c33d52009307f757b71a1fe3d589.tar.gz samba-375e53826c59c33d52009307f757b71a1fe3d589.tar.bz2 samba-375e53826c59c33d52009307f757b71a1fe3d589.zip |
include/local.h:
include/smb.h:
param/loadparm.c: Made GUEST_SESSSETUP run time selectable. Horror of horrors :-).
printing/printing.c: Added J.F.'s latest fix.
rpc_parse/parse_misc.c:
parse_reg.c:
rpcclient/cmd_reg.c:
rpcclient/display.c: SGI compiler signed/unsigned issues.
smbd/reply.c: Made GUEST_SESSSETUP run time selectable. Horror of horrors :-).
utils/testparm.c: Added extra test.
Jeremy.
(This used to be commit 9668a5ef50be2e6b575f9989e87ee2ff8da5ac1d)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_reg.c | 2 | ||||
-rw-r--r-- | source3/rpcclient/display.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/source3/rpcclient/cmd_reg.c b/source3/rpcclient/cmd_reg.c index 48b6d385bb..6430db2627 100644 --- a/source3/rpcclient/cmd_reg.c +++ b/source3/rpcclient/cmd_reg.c @@ -471,7 +471,7 @@ void cmd_reg_create_val(struct client_info *info) } DEBUG(10,("key data:\n")); - dump_data(10, value.buffer, value.buf_len); + dump_data(10, (char *)value.buffer, value.buf_len); /* open WINREG session. */ res = res ? cli_nt_session_open(smb_cli, PIPE_WINREG) : False; diff --git a/source3/rpcclient/display.c b/source3/rpcclient/display.c index e173ced009..c55358bc9c 100644 --- a/source3/rpcclient/display.c +++ b/source3/rpcclient/display.c @@ -1245,11 +1245,10 @@ char *get_reg_val_type_str(uint32 type) } default: { - snprintf(typestr, sizeof(typestr), "[%d]", type); - return typestr; break; } } + snprintf(typestr, sizeof(typestr), "[%d]", type); return typestr; } |