summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-10-23 22:13:25 +0000
committerTim Potter <tpot@samba.org>2001-10-23 22:13:25 +0000
commit69275e4f0f502f07ceb37f274d01450d639ba23f (patch)
tree3b434ff900c0129db74178f1a0328f5564c1478e /examples
parent12c10e876ea528fdf33e8ecfe42ab0ebb346b143 (diff)
downloadsamba-69275e4f0f502f07ceb37f274d01450d639ba23f.tar.gz
Don't get stuck in an infinite loop in vfs_connect.
Diffstat (limited to 'examples')
-rw-r--r--examples/VFS/audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/VFS/audit.c b/examples/VFS/audit.c
index cee410db84b..dcc288fc97d 100644
--- a/examples/VFS/audit.c
+++ b/examples/VFS/audit.c
@@ -56,7 +56,7 @@ static int audit_connect(struct connection_struct *conn, const char *svc,
syslog(SYSLOG_PRIORITY, "connect to service %s by user %s\n",
svc, user);
- return global_vfs_ops->connect(conn, svc, user);
+ return 0; /* Success */
}
static void audit_disconnect(struct connection_struct *conn)