From 76aa53bce10ed2b531b07dbf02ffb31c658f5920 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 3 Oct 1998 14:46:48 +0000 Subject: fixed wrapper for access(). This gets xedit working. (This used to be commit 3c839a523183c163db0d14cf1a3aac47ffafd496) --- source3/smbwrapper/smbw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbwrapper') diff --git a/source3/smbwrapper/smbw.c b/source3/smbwrapper/smbw.c index 2842123888..d6964790d6 100644 --- a/source3/smbwrapper/smbw.c +++ b/source3/smbwrapper/smbw.c @@ -1090,7 +1090,7 @@ int smbw_access(const char *name, int mode) { struct stat st; /* how do we map this properly ?? */ - return smbw_stat(name, &st) == 0; + return smbw_stat(name, &st); } /***************************************************** -- cgit