{
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);
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
*
* 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,