Apply some const
authorVolker Lendecke <vl@samba.org>
Tue, 9 Dec 2008 12:50:22 +0000 (13:50 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 10 Dec 2008 16:45:43 +0000 (17:45 +0100)
source3/smbd/filename.c

index 9f2fe60f472036674b118786cc51fe9bb2479863..a5800aa85b35b2b2156fb1f596668fa8833611b4 100644 (file)
@@ -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;