From e09150948bf4406b5af13241b267a9d3a6fd1d0c Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 21 Apr 2005 01:46:18 +0000 Subject: r6408: Fix compile error lurking where PATH_MAX is not defined. Bugzilla #2560. (This used to be commit 5921fcadd5bdf8e600132db6d5cc6393f3d26f58) --- source3/smbd/vfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd') 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 -- cgit