summaryrefslogtreecommitdiff
path: root/source/smbd/nttrans.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-07-16 04:26:13 +0000
committerGerald Carter <jerry@samba.org>2003-07-16 04:26:13 +0000
commit1acf0a8103c580c8ba7d5a610d37192703d85dcd (patch)
tree8a78acf35b9a65c43d07f36d4bf81e85510b9834 /source/smbd/nttrans.c
parent1b63020c43a9d53407550a6cf5bde61776ebaf9c (diff)
downloadsamba-1acf0a8103c580c8ba7d5a610d37192703d85dcd.tar.gz
starting to sync up for beta3
Diffstat (limited to 'source/smbd/nttrans.c')
-rw-r--r--source/smbd/nttrans.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/smbd/nttrans.c b/source/smbd/nttrans.c
index 13692d3c2c2..c574d9d563a 100644
--- a/source/smbd/nttrans.c
+++ b/source/smbd/nttrans.c
@@ -562,7 +562,7 @@ int reply_ntcreate_and_X(connection_struct *conn,
{
int result;
pstring fname;
- enum FAKE_FILE_TYPE fake_file_type = 0;
+ enum FAKE_FILE_TYPE fake_file_type = FAKE_FILE_TYPE_NONE;
uint32 flags = IVAL(inbuf,smb_ntcreate_Flags);
uint32 desired_access = IVAL(inbuf,smb_ntcreate_DesiredAccess);
uint32 file_attributes = IVAL(inbuf,smb_ntcreate_FileAttributes);
@@ -692,7 +692,7 @@ create_options = 0x%x root_dir_fid = 0x%x\n", flags, desired_access, file_attrib
if( strchr_m(fname, ':')) {
#ifdef HAVE_SYS_QUOTAS
- if ((fake_file_type=is_fake_file(fname))!=0) {
+ if ((fake_file_type=is_fake_file(fname))!=FAKE_FILE_TYPE_NONE) {
/*
* here we go! support for changing the disk quotas --metze
*
@@ -784,7 +784,7 @@ create_options = 0x%x root_dir_fid = 0x%x\n", flags, desired_access, file_attrib
* before issuing an oplock break request to
* our client. JRA. */
- if (fake_file_type==0) {
+ if (fake_file_type==FAKE_FILE_TYPE_NONE) {
fsp = open_file_shared1(conn,fname,&sbuf,
desired_access,
smb_open_mode,