mirror of
https://github.com/samba-team/samba.git
synced 2025-03-03 12:58:35 +03:00
r6408: Fix compile error lurking where PATH_MAX is not defined. Bugzilla #2560.
(This used to be commit 5921fcadd5bdf8e600132db6d5cc6393f3d26f58)
This commit is contained in:
parent
4e95263320
commit
e09150948b
@ -894,7 +894,7 @@ BOOL reduce_name(connection_struct *conn, const pstring fname)
|
||||
#ifdef PATH_MAX
|
||||
safe_strcpy(resolved_name_buf, tmp_fname, PATH_MAX);
|
||||
#else
|
||||
pstrcpy(pstring resolved_name_buf, tmp_fname);
|
||||
pstrcpy(resolved_name_buf, tmp_fname);
|
||||
#endif
|
||||
resolved_name = resolved_name_buf;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user