diff options
author | Michael Adam <obnox@samba.org> | 2012-06-11 17:47:58 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-06-12 07:21:43 +0200 |
commit | 21a36aa2e85c0871577dd71f9006e6e407e34ca2 (patch) | |
tree | c220c4d366e6a88e2c10cbcc8be0db817a47cb19 | |
parent | 33ebba9c5a43ab5f295b34f8e6320c08b3a75ab6 (diff) | |
download | samba-21a36aa2e85c0871577dd71f9006e6e407e34ca2.tar.gz samba-21a36aa2e85c0871577dd71f9006e6e407e34ca2.tar.bz2 samba-21a36aa2e85c0871577dd71f9006e6e407e34ca2.zip |
s3:vfs:scannedonly: fix use of non-existent word (existant)
-rw-r--r-- | source3/modules/vfs_scannedonly.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/modules/vfs_scannedonly.c b/source3/modules/vfs_scannedonly.c index b43c6df972..c48c21a406 100644 --- a/source3/modules/vfs_scannedonly.c +++ b/source3/modules/vfs_scannedonly.c @@ -362,7 +362,7 @@ fullpath is a full path starting from / or a relative path to the current working directory shortname is the filename without directory components basename, is the directory without file name component -allow_nonexistant return TRUE if stat() on the requested file fails +allow_nonexistent return TRUE if stat() on the requested file fails recheck_time, the time in milliseconds to wait for the daemon to create a .scanned file recheck_tries, the number of tries to wait @@ -375,7 +375,7 @@ static bool scannedonly_allow_access(vfs_handle_struct * handle, struct smb_filename *smb_fname, const char *shortname, const char *base_name, - int allow_nonexistant, + int allow_nonexistent, int recheck_time, int recheck_tries, int recheck_size, int loop) { @@ -403,9 +403,9 @@ static bool scannedonly_allow_access(vfs_handle_struct * handle, if (retval != 0) { /* failed to stat this file?!? --> hide it */ DEBUG(SCANNEDONLY_DEBUG,("no valid stat, return" - " allow_nonexistant=%d\n", - allow_nonexistant)); - return allow_nonexistant; + " allow_nonexistent=%d\n", + allow_nonexistent)); + return allow_nonexistent; } } if (!S_ISREG(smb_fname->st.st_ex_mode)) { |