1
0
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:
Tim Potter 2005-04-21 01:46:18 +00:00 committed by Gerald (Jerry) Carter
parent 3216125bed
commit 5921fcadd5

View File

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