diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-07-21 09:20:43 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-07-21 22:08:52 +0200 |
commit | 25447a528a1f5c37e0e62bbc990b87c868de784a (patch) | |
tree | 1c6dbdf6ce7dd670d621fd92cc2c1ca87d14c230 /source3/client | |
parent | c70103f3f81c45846acc60fa84027247d72913f5 (diff) | |
download | samba-25447a528a1f5c37e0e62bbc990b87c868de784a.tar.gz samba-25447a528a1f5c37e0e62bbc990b87c868de784a.tar.xz samba-25447a528a1f5c37e0e62bbc990b87c868de784a.zip |
s3:libsmb: move cli->vuid to cli->smb1.uid and hide it behind cli_state_[g|s]et_uid()
metze
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index d489ea7eba..1cf44103e9 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -4261,11 +4261,12 @@ static int cmd_vuid(void) char *buf; if (!next_token_talloc(ctx, &cmd_ptr,&buf,NULL)) { - d_printf("Current VUID is %d\n", cli->vuid); + d_printf("Current VUID is %d\n", + cli_state_get_uid(cli)); return 0; } - cli->vuid = atoi(buf); + cli_state_set_uid(cli, atoi(buf)); return 0; } @@ -4303,7 +4304,7 @@ static int cmd_logon(void) return -1; } - d_printf("Current VUID is %d\n", cli->vuid); + d_printf("Current VUID is %d\n", cli_state_get_uid(cli)); return 0; } |