From 6a58faf46225ffd4c977fe82b8b45374f65c1cec Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 3 Mar 2003 20:12:07 +0000 Subject: Const warning fixes. Jeremy. (This used to be commit 3ad62ebe26d8c6b82f8618eea11d104b3ab0ec18) --- source3/smbd/vfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 6574a34eaa..533c64b229 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -636,7 +636,7 @@ static BOOL handle_vfs_option(char *pszParmValue, char **ptr) A wrapper for vfs_chdir(). ********************************************************************/ -int vfs_ChDir(connection_struct *conn, char *path) +int vfs_ChDir(connection_struct *conn, const char *path) { int res; static pstring LastDir=""; @@ -784,7 +784,7 @@ char *vfs_GetWd(connection_struct *conn, char *path) /* check if the file 'nmae' is a symlink, in that case check that it point to a file that reside under the 'dir' tree */ -static BOOL readlink_check(connection_struct *conn, char *dir, char *name) +static BOOL readlink_check(connection_struct *conn, const char *dir, char *name) { BOOL ret = True; pstring flink; -- cgit