git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r6408: Fix compile error lurking where PATH_MAX is not defined. Bugzilla #2560.
[samba.git]
/
source3
/
smbd
/
vfs.c
diff --git
a/source3/smbd/vfs.c
b/source3/smbd/vfs.c
index 28441c91abc970309677a77dac9a769621808da1..dee29f4796548a8dad7232cee4a2f46bb663c98d 100644
(file)
--- 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