summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-11-10 15:02:08 -0800
committerJeremy Allison <jra@samba.org>2007-11-10 15:02:08 -0800
commit54d65bfb9a3200943afa14e314a3d620f6fa32b3 (patch)
treed957132e1050767dd8611936b4b5699c0bbf5f9f /source3/smbd
parentacc0218f1396de2aad521dff722ada43631d92f9 (diff)
downloadsamba-54d65bfb9a3200943afa14e314a3d620f6fa32b3.tar.gz
samba-54d65bfb9a3200943afa14e314a3d620f6fa32b3.tar.bz2
samba-54d65bfb9a3200943afa14e314a3d620f6fa32b3.zip
Fix the build when realpath doesn't take null
as a last arg. Jeremy. (This used to be commit 63125225383f512f43002b9a92569d4b8f1b63bd)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index dd09a6955e..c3972391f3 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -38,7 +38,7 @@ static bool canonicalize_connect_path(connection_struct *conn)
#else
pstring resolved_name_buf;
#endif
- char *resolved_name = SMB_VFS_REALPATH(conn,path,resolved_name_buf);
+ char *resolved_name = SMB_VFS_REALPATH(conn,conn->connectpath,resolved_name_buf);
if (!resolved_name) {
return false;
}