summaryrefslogtreecommitdiffstats
path: root/examples/VFS/skel_opaque.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-06-27 18:32:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:58:04 -0500
commite55d945ff1b4fb95f19527b1fa41af374b501488 (patch)
tree465c8729f7b219e0e6e42c35a3bc52941e90879b /examples/VFS/skel_opaque.c
parent919af50f2722382aca4ce516029b0a19443d79ec (diff)
downloadsamba-e55d945ff1b4fb95f19527b1fa41af374b501488.tar.gz
samba-e55d945ff1b4fb95f19527b1fa41af374b501488.tar.xz
samba-e55d945ff1b4fb95f19527b1fa41af374b501488.zip
r7952: Fix for bug #2826 pointed out by Jiri Klouda <jk@zg.cz>.
Wrong return val for symlink and readlink. Jeremy. (This used to be commit f3c4d5a95746531b7bd548bbbfccfff197a2abf3)
Diffstat (limited to 'examples/VFS/skel_opaque.c')
-rw-r--r--examples/VFS/skel_opaque.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c
index fb4254ccff1..a3a42912f87 100644
--- a/examples/VFS/skel_opaque.c
+++ b/examples/VFS/skel_opaque.c
@@ -221,12 +221,12 @@ static BOOL skel_lock(vfs_handle_struct *handle, files_struct *fsp, int fd, int
return vfswrap_lock(NULL, fsp, fd, op, offset, count, type);
}
-static BOOL skel_symlink(vfs_handle_struct *handle, connection_struct *conn, const char *oldpath, const char *newpath)
+static int skel_symlink(vfs_handle_struct *handle, connection_struct *conn, const char *oldpath, const char *newpath)
{
return vfswrap_symlink(NULL, conn, oldpath, newpath);
}
-static BOOL skel_readlink(vfs_handle_struct *handle, connection_struct *conn, const char *path, char *buf, size_t bufsiz)
+static int skel_readlink(vfs_handle_struct *handle, connection_struct *conn, const char *path, char *buf, size_t bufsiz)
{
return vfswrap_readlink(NULL, conn, path, buf, bufsiz);
}