diff options
author | Tim Potter <tpot@samba.org> | 2001-10-23 22:13:25 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-10-23 22:13:25 +0000 |
commit | 65f591895c8f57024750a7c8c029a04cccac16f0 (patch) | |
tree | adc64448046fd350f9ea2622006b75730a5914f3 /examples | |
parent | b8fe0f6711977412f8a7103022b01f3428d9c3a0 (diff) | |
download | samba-65f591895c8f57024750a7c8c029a04cccac16f0.tar.gz samba-65f591895c8f57024750a7c8c029a04cccac16f0.tar.bz2 samba-65f591895c8f57024750a7c8c029a04cccac16f0.zip |
Don't get stuck in an infinite loop in vfs_connect.
(This used to be commit 69275e4f0f502f07ceb37f274d01450d639ba23f)
Diffstat (limited to 'examples')
-rw-r--r-- | examples/VFS/audit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/VFS/audit.c b/examples/VFS/audit.c index cee410db84..dcc288fc97 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) |