diff options
author | Tim Potter <tpot@samba.org> | 2005-04-21 01:46:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:40 -0500 |
commit | e09150948bf4406b5af13241b267a9d3a6fd1d0c (patch) | |
tree | 63f3d0f76f0fd492c5295b117256f4d5576eaa35 /source3 | |
parent | 4e95263320aefd7d930a40d6774b232996f8a744 (diff) | |
download | samba-e09150948bf4406b5af13241b267a9d3a6fd1d0c.tar.gz samba-e09150948bf4406b5af13241b267a9d3a6fd1d0c.tar.bz2 samba-e09150948bf4406b5af13241b267a9d3a6fd1d0c.zip |
r6408: Fix compile error lurking where PATH_MAX is not defined. Bugzilla #2560.
(This used to be commit 5921fcadd5bdf8e600132db6d5cc6393f3d26f58)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/vfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 28441c91ab..dee29f4796 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -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 |