From 54d65bfb9a3200943afa14e314a3d620f6fa32b3 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 10 Nov 2007 15:02:08 -0800 Subject: Fix the build when realpath doesn't take null as a last arg. Jeremy. (This used to be commit 63125225383f512f43002b9a92569d4b8f1b63bd) --- source3/smbd/service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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; } -- cgit