summaryrefslogtreecommitdiffstats
path: root/source
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
commit63125225383f512f43002b9a92569d4b8f1b63bd (patch)
treedff7fc666d61681abf591ce8a206c55245a0a749 /source
parentcdd9e5cc8366cf0be4dc31f793fc0e5be6f63c3e (diff)
downloadsamba-63125225383f512f43002b9a92569d4b8f1b63bd.tar.gz
samba-63125225383f512f43002b9a92569d4b8f1b63bd.tar.xz
samba-63125225383f512f43002b9a92569d4b8f1b63bd.zip
Fix the build when realpath doesn't take null
as a last arg. Jeremy.
Diffstat (limited to 'source')
-rw-r--r--source/smbd/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/service.c b/source/smbd/service.c
index dd09a6955e5..c3972391f32 100644
--- a/source/smbd/service.c
+++ b/source/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;
}