summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/smbw.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-04 06:44:20 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-04 06:44:20 +0000
commitaf4a13b37a1dbf7df8b246abc4f816f48d71c007 (patch)
tree1a5b064648ff0d2965a362007b3b11f30bd6246e /source3/smbwrapper/smbw.c
parentf3db9286f98a8d5ab2310fca73e89f0f2732704e (diff)
downloadsamba-af4a13b37a1dbf7df8b246abc4f816f48d71c007.tar.gz
samba-af4a13b37a1dbf7df8b246abc4f816f48d71c007.tar.bz2
samba-af4a13b37a1dbf7df8b246abc4f816f48d71c007.zip
refuse symlinks to or from a smb path
(This used to be commit 83e93d2a4493546cb481f5c8187c64207b5901d1)
Diffstat (limited to 'source3/smbwrapper/smbw.c')
-rw-r--r--source3/smbwrapper/smbw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbwrapper/smbw.c b/source3/smbwrapper/smbw.c
index e933fc3636..39c3eec90c 100644
--- a/source3/smbwrapper/smbw.c
+++ b/source3/smbwrapper/smbw.c
@@ -319,8 +319,8 @@ int smbw_errno(struct cli_state *c)
ret = cli_error(c, &eclass, &ecode);
if (ret) {
- DEBUG(3,("smbw_error %d %d (0x%x)\n",
- (int)eclass, (int)ecode, (int)ecode));
+ DEBUG(3,("smbw_error %d %d (0x%x) -> %d\n",
+ (int)eclass, (int)ecode, (int)ecode, ret));
}
return ret;
}