]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r6408: Fix compile error lurking where PATH_MAX is not defined. Bugzilla #2560.
authorTim Potter <tpot@samba.org>
Thu, 21 Apr 2005 01:46:18 +0000 (01:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:56:40 +0000 (10:56 -0500)
source/smbd/vfs.c

index 28441c91abc970309677a77dac9a769621808da1..dee29f4796548a8dad7232cee4a2f46bb663c98d 100644 (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