summaryrefslogtreecommitdiffstats
path: root/source/smbd/vfs.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-04-21 01:46:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:40 -0500
commit5921fcadd5bdf8e600132db6d5cc6393f3d26f58 (patch)
tree16555e93562cf5faac5e29764a4140312b293dc0 /source/smbd/vfs.c
parent3216125bed39cbfe20bb8ac98d7489f660f9dfa0 (diff)
downloadsamba-5921fcadd5bdf8e600132db6d5cc6393f3d26f58.tar.gz
samba-5921fcadd5bdf8e600132db6d5cc6393f3d26f58.tar.xz
samba-5921fcadd5bdf8e600132db6d5cc6393f3d26f58.zip
r6408: Fix compile error lurking where PATH_MAX is not defined. Bugzilla #2560.
Diffstat (limited to 'source/smbd/vfs.c')
-rw-r--r--source/smbd/vfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/vfs.c b/source/smbd/vfs.c
index 28441c91abc..dee29f47965 100644
--- a/source/smbd/vfs.c
+++ b/source/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