summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-12-09 13:50:22 +0100
committerVolker Lendecke <vl@samba.org>2008-12-10 17:45:43 +0100
commitc7521b25e9f364ced3fbdee3ccb463e93e97a1c3 (patch)
treea988fb51937d6ee43541458a4fbf30af7a904f3e /source3/smbd
parent6bb2fff0c14bd886a1d7995e5ce01f5938689372 (diff)
downloadsamba-c7521b25e9f364ced3fbdee3ccb463e93e97a1c3.tar.gz
samba-c7521b25e9f364ced3fbdee3ccb463e93e97a1c3.tar.bz2
samba-c7521b25e9f364ced3fbdee3ccb463e93e97a1c3.zip
Apply some const
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/filename.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index 9f2fe60f47..a5800aa85b 100644
--- a/source3/smbd/filename.c
+++ b/source3/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;