From 28074d957aa7ee5b4df60e2e553ba1212f217572 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 3 Mar 2003 20:12:37 +0000 Subject: Const warning fixes. Jeremy. (This used to be commit 30e8ae8e030b5dccaef9612dca24907be547acdf) --- source3/smbd/vfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd') 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