mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
r6408: Fix compile error lurking where PATH_MAX is not defined. Bugzilla #2560.
This commit is contained in:
parent
3216125bed
commit
5921fcadd5
@ -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