fixed wrapper for access(). This gets xedit working.
authorAndrew Tridgell <tridge@samba.org>
Sat, 3 Oct 1998 14:46:48 +0000 (14:46 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sat, 3 Oct 1998 14:46:48 +0000 (14:46 +0000)
source/smbwrapper/smbw.c

index 28421238885b8bbfee63486f12c4e50c0a2b97e3..d6964790d6ea44bb05bcdf95f16747a0714811c0 100644 (file)
@@ -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);
 }
 
 /*****************************************************