From 21a36aa2e85c0871577dd71f9006e6e407e34ca2 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 11 Jun 2012 17:47:58 +0200 Subject: s3:vfs:scannedonly: fix use of non-existent word (existant) --- source3/modules/vfs_scannedonly.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3') 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)) { -- cgit