summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-03-03 20:12:07 +0000
committerJeremy Allison <jra@samba.org>2003-03-03 20:12:07 +0000
commit6a58faf46225ffd4c977fe82b8b45374f65c1cec (patch)
tree04f38f353eeb48d87aa5c6b9760e517051890033 /source3/smbd
parentf434f039e606c368eacb995e30c859daa85c64eb (diff)
downloadsamba-6a58faf46225ffd4c977fe82b8b45374f65c1cec.tar.gz
samba-6a58faf46225ffd4c977fe82b8b45374f65c1cec.tar.bz2
samba-6a58faf46225ffd4c977fe82b8b45374f65c1cec.zip
Const warning fixes.
Jeremy. (This used to be commit 3ad62ebe26d8c6b82f8618eea11d104b3ab0ec18)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/vfs.c4
1 files changed, 2 insertions, 2 deletions
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;