diff options
author | Volker Lendecke <vl@samba.org> | 2009-01-26 03:38:05 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-01-26 05:39:34 +0100 |
commit | 7f25e0da7348d786a36fa14403938b4f209fb52b (patch) | |
tree | 0f6a4c4a00e985c09fb0197d59cad1efb612caa1 /source3/libsmb/clifsinfo.c | |
parent | 6baf760d176cc5ea8eb0cba6d68171f1950c1b75 (diff) | |
download | samba-7f25e0da7348d786a36fa14403938b4f209fb52b.tar.gz samba-7f25e0da7348d786a36fa14403938b4f209fb52b.tar.xz samba-7f25e0da7348d786a36fa14403938b4f209fb52b.zip |
Decouple clistr_pull from struct cli_state->inbuf
Diffstat (limited to 'source3/libsmb/clifsinfo.c')
-rw-r--r-- | source3/libsmb/clifsinfo.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/libsmb/clifsinfo.c b/source3/libsmb/clifsinfo.c index 5e73b61cd20..77290d2df9b 100644 --- a/source3/libsmb/clifsinfo.c +++ b/source3/libsmb/clifsinfo.c @@ -229,7 +229,8 @@ bool cli_get_fs_volume_info_old(struct cli_state *cli, fstring volume_name, uint *pserial_number = IVAL(rdata,0); } nlen = CVAL(rdata,l2_vol_cch); - clistr_pull(cli, volume_name, rdata + l2_vol_szVolLabel, sizeof(fstring), nlen, STR_NOALIGN); + clistr_pull(cli->inbuf, volume_name, rdata + l2_vol_szVolLabel, + sizeof(fstring), nlen, STR_NOALIGN); /* todo: but not yet needed * return the other stuff @@ -290,7 +291,8 @@ bool cli_get_fs_volume_info(struct cli_state *cli, fstring volume_name, uint32 * *pserial_number = IVAL(rdata,8); } nlen = IVAL(rdata,12); - clistr_pull(cli, volume_name, rdata + 18, sizeof(fstring), nlen, STR_UNICODE); + clistr_pull(cli->inbuf, volume_name, rdata + 18, sizeof(fstring), + nlen, STR_UNICODE); /* todo: but not yet needed * return the other stuff |