summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/wrapped.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-08 01:23:33 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-08 01:23:33 +0000
commitef2e37cf945a3f95d4e7df8b3b915c864d4dc100 (patch)
treeb5bb37192521f8694072476f3a9431d33ff68bf3 /source3/smbwrapper/wrapped.c
parentfa0ff0980bbd65df84fee3c75668154f4fe0b4fa (diff)
downloadsamba-ef2e37cf945a3f95d4e7df8b3b915c864d4dc100.tar.gz
samba-ef2e37cf945a3f95d4e7df8b3b915c864d4dc100.tar.bz2
samba-ef2e37cf945a3f95d4e7df8b3b915c864d4dc100.zip
fixed a problem with fchdir() that broke "cvs -d" in smbsh
(This used to be commit 6121f7c8c2d63fd12266327a6f2ac9a5e717dccc)
Diffstat (limited to 'source3/smbwrapper/wrapped.c')
-rw-r--r--source3/smbwrapper/wrapped.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/smbwrapper/wrapped.c b/source3/smbwrapper/wrapped.c
index 790d56c936..d5f47aac46 100644
--- a/source3/smbwrapper/wrapped.c
+++ b/source3/smbwrapper/wrapped.c
@@ -164,11 +164,7 @@
int fchdir(int fd)
{
- if (smbw_fd(fd)) {
- return smbw_fchdir(fd);
- }
-
- return real_fchdir(fd);
+ return smbw_fchdir(fd);
}
#ifdef HAVE___FCHDIR