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 | 5921fcadd5bdf8e600132db6d5cc6393f3d26f58 (patch) | |
tree | 16555e93562cf5faac5e29764a4140312b293dc0 /source/smbd/vfs.c | |
parent | 3216125bed39cbfe20bb8ac98d7489f660f9dfa0 (diff) | |
download | samba-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.c | 2 |
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 |