From b3902eac2d0981cfded674ba33cbfe930001e428 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 9 Dec 2008 13:50:22 +0100 Subject: [PATCH] Apply some const (cherry picked from commit 915b6fbf269a542603da289d8f67b6ca5226e1a0) --- source/smbd/filename.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/smbd/filename.c b/source/smbd/filename.c index 9f2fe60f472..a5800aa85b3 100644 --- a/source/smbd/filename.c +++ b/source/smbd/filename.c @@ -27,7 +27,7 @@ #include "includes.h" static bool get_real_filename(connection_struct *conn, const char *path, - char *name, TALLOC_CTX *mem_ctx, + const char *name, TALLOC_CTX *mem_ctx, char **found_name); static NTSTATUS build_stream_path(TALLOC_CTX *mem_ctx, connection_struct *conn, @@ -770,7 +770,7 @@ static bool fname_equal(const char *name1, const char *name2, ****************************************************************************/ static bool get_real_filename(connection_struct *conn, const char *path, - char *name, TALLOC_CTX *mem_ctx, + const char *name, TALLOC_CTX *mem_ctx, char **found_name) { struct smb_Dir *cur_dir; -- 2.11.4.GIT