summaryrefslogtreecommitdiff
path: root/source3/libsmb/clifsinfo.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-01-26 18:14:41 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-01-26 18:14:41 +0100
commitcce04c606e7a91fcaf75c8efd7ca0cd4aa15ece9 (patch)
tree62f598c7a01e072cc52d166364bc3d2a94e85242 /source3/libsmb/clifsinfo.c
parentd30b6af9532c0ea4e9610b30d13e7a4d9b763834 (diff)
parentd8f15e4efc00b9d509ff5761e9ca8ff5c6f443f7 (diff)
downloadsamba-cce04c606e7a91fcaf75c8efd7ca0cd4aa15ece9.tar.gz
samba-cce04c606e7a91fcaf75c8efd7ca0cd4aa15ece9.tar.bz2
samba-cce04c606e7a91fcaf75c8efd7ca0cd4aa15ece9.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Diffstat (limited to 'source3/libsmb/clifsinfo.c')
-rw-r--r--source3/libsmb/clifsinfo.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/libsmb/clifsinfo.c b/source3/libsmb/clifsinfo.c
index 5e73b61cd2..77290d2df9 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