summaryrefslogtreecommitdiff
path: root/source4/libcli/raw
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-05-20 09:38:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:10 -0500
commitb77eaaa3bc7cd27320496440deda8a6ca62f7f5a (patch)
tree7e1832d476d43176ade82f4f233e7c12c415b155 /source4/libcli/raw
parent9ef33f5f5c786b83311ca088357fb2f0aa72fc9e (diff)
downloadsamba-b77eaaa3bc7cd27320496440deda8a6ca62f7f5a.tar.gz
samba-b77eaaa3bc7cd27320496440deda8a6ca62f7f5a.tar.bz2
samba-b77eaaa3bc7cd27320496440deda8a6ca62f7f5a.zip
r15737: fix a typos and comment
metze (This used to be commit 1f50b2e0534ee25861b6812b64d91f63cbb118ad)
Diffstat (limited to 'source4/libcli/raw')
-rw-r--r--source4/libcli/raw/interfaces.h4
-rw-r--r--source4/libcli/raw/rawfile.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/libcli/raw/interfaces.h b/source4/libcli/raw/interfaces.h
index 84f897172e..588237acb0 100644
--- a/source4/libcli/raw/interfaces.h
+++ b/source4/libcli/raw/interfaces.h
@@ -1730,14 +1730,14 @@ enum smb_flush_level {RAW_FLUSH_FLUSH, RAW_FLUSH_ALL};
/* struct for SMBflush */
union smb_flush {
struct {
- enum smb_ioctl_level level;
+ enum smb_flush_level level;
struct {
union smb_handle file;
} in;
} flush, generic;
struct {
- enum smb_ioctl_level level;
+ enum smb_flush_level level;
} flush_all;
};
diff --git a/source4/libcli/raw/rawfile.c b/source4/libcli/raw/rawfile.c
index fb3035c0a8..faa2cdbeb4 100644
--- a/source4/libcli/raw/rawfile.c
+++ b/source4/libcli/raw/rawfile.c
@@ -844,7 +844,7 @@ NTSTATUS smb_raw_chkpath(struct smbcli_tree *tree, union smb_chkpath *parms)
/****************************************************************************
flush a file - async send
- a flush to fnum 0xFFFF will flush all files
+ a flush with RAW_FLUSH_ALL will flush all files
****************************************************************************/
struct smbcli_request *smb_raw_flush_send(struct smbcli_tree *tree, union smb_flush *parms)
{