summaryrefslogtreecommitdiff
path: root/source3/libsmb/libsmb_file.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-10-23 22:37:16 +0200
committerVolker Lendecke <vl@samba.org>2010-10-24 11:39:30 +0200
commitc095809c0464cd174e0993d8c32434d6f3733342 (patch)
treefa252edc75dc3c39c8668232b85fc52a5e11ba8f /source3/libsmb/libsmb_file.c
parentd864b1bace0038b86cb393ca811dcce2e938bebd (diff)
downloadsamba-c095809c0464cd174e0993d8c32434d6f3733342.tar.gz
s3: Convert cli_qfileinfo_basic to cli_qfileinfo
Diffstat (limited to 'source3/libsmb/libsmb_file.c')
-rw-r--r--source3/libsmb/libsmb_file.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/libsmb/libsmb_file.c b/source3/libsmb/libsmb_file.c
index 1a44f0e9af3..6b08b61c2e6 100644
--- a/source3/libsmb/libsmb_file.c
+++ b/source3/libsmb/libsmb_file.c
@@ -730,9 +730,10 @@ SMBC_lseek_ctx(SMBCCTX *context,
}
/*d_printf(">>>lseek: resolved path as %s\n", targetpath);*/
- if (!cli_qfileinfo_basic(targetcli, file->cli_fd, NULL,
- &size, NULL, NULL, NULL, NULL, NULL))
- {
+ if (!NT_STATUS_IS_OK(cli_qfileinfo_basic(
+ targetcli, file->cli_fd, NULL,
+ &size, NULL, NULL, NULL, NULL,
+ NULL))) {
SMB_OFF_T b_size = size;
if (!NT_STATUS_IS_OK(cli_getattrE(targetcli, file->cli_fd,
NULL, &b_size, NULL, NULL, NULL))) {