summaryrefslogtreecommitdiff
path: root/source3/smbwrapper
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-03 14:46:48 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-03 14:46:48 +0000
commit76aa53bce10ed2b531b07dbf02ffb31c658f5920 (patch)
treee93bc3ebaf27dd2369fa7f347c2efca2a8490ab8 /source3/smbwrapper
parent4d9ab2add20ea8b6435c5b6a96c4d5df86413a8d (diff)
downloadsamba-76aa53bce10ed2b531b07dbf02ffb31c658f5920.tar.gz
samba-76aa53bce10ed2b531b07dbf02ffb31c658f5920.tar.bz2
samba-76aa53bce10ed2b531b07dbf02ffb31c658f5920.zip
fixed wrapper for access(). This gets xedit working.
(This used to be commit 3c839a523183c163db0d14cf1a3aac47ffafd496)
Diffstat (limited to 'source3/smbwrapper')
-rw-r--r--source3/smbwrapper/smbw.c2
1 files changed, 1 insertions, 1 deletions
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);
}
/*****************************************************