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:
parent
acc0218f13
commit
54d65bfb9a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user