1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Fix the build when realpath doesn't take null

as a last arg.
Jeremy.
(This used to be commit 6312522538)
This commit is contained in:
Jeremy Allison 2007-11-10 15:02:08 -08:00
parent acc0218f13
commit 54d65bfb9a

View File

@ -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;
}