From: Tim Potter Date: Thu, 21 Apr 2005 01:46:18 +0000 (+0000) Subject: r6408: Fix compile error lurking where PATH_MAX is not defined. Bugzilla #2560. X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~4922 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5921fcadd5bdf8e600132db6d5cc6393f3d26f58;p=thirdparty%2Fsamba.git r6408: Fix compile error lurking where PATH_MAX is not defined. Bugzilla #2560. --- 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