s3:smbd: use PATH_MAX for the buffer passed to full_path_tos()
authorStefan Metzmacher <metze@samba.org>
Sat, 14 Dec 2013 09:45:42 +0000 (10:45 +0100)
committerVolker Lendecke <vl@samba.org>
Sat, 14 Dec 2013 15:24:34 +0000 (16:24 +0100)
commit952392af38b5558f5dfb858251fce4d22c9a1ec2
tree6e4988ae4da0b72a569c30177dc461850d94b16a
parentf3556bd03bf9dfa16fb00d85da1a2c065cb0e522
s3:smbd: use PATH_MAX for the buffer passed to full_path_tos()

We use this in other places too and it's better than a hardcoded value.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/smbd/files.c
source3/smbd/notify.c