summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-24 01:14:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:44 -0500
commitd60b11c1f0151dbd758b896ba2934a8efa4ada75 (patch)
tree8f7c908f0ebfd2eeb5258cc1a2cefff91db5fce5
parent37e3d0262136a164596f80590466e943e54c8c1f (diff)
downloadsamba-d60b11c1f0151dbd758b896ba2934a8efa4ada75.tar.gz
samba-d60b11c1f0151dbd758b896ba2934a8efa4ada75.tar.bz2
samba-d60b11c1f0151dbd758b896ba2934a8efa4ada75.zip
r7864: fixed some const bugs
(This used to be commit 616f54015ff8c7b25fa500cb03d025a9950ed6cf)
-rw-r--r--source4/dsdb/samdb/samdb_privilege.c2
-rw-r--r--source4/torture/libnet/userman.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/dsdb/samdb/samdb_privilege.c b/source4/dsdb/samdb/samdb_privilege.c
index bfd37f6417..7560d21db5 100644
--- a/source4/dsdb/samdb/samdb_privilege.c
+++ b/source4/dsdb/samdb/samdb_privilege.c
@@ -35,7 +35,7 @@ static NTSTATUS samdb_privilege_setup_sid(void *samctx, TALLOC_CTX *mem_ctx,
struct ldb_message **res = NULL;
struct ldb_message_element *el;
int ret, i;
- char *sidstr;
+ const char *sidstr;
*mask = 0;
diff --git a/source4/torture/libnet/userman.c b/source4/torture/libnet/userman.c
index b308bfa0b5..f688336fd2 100644
--- a/source4/torture/libnet/userman.c
+++ b/source4/torture/libnet/userman.c
@@ -278,7 +278,7 @@ BOOL torture_useradd(void)
struct dcerpc_pipe *p;
struct policy_handle h;
struct samr_String domain_name;
- char* name = TEST_USERNAME;
+ const char *name = TEST_USERNAME;
TALLOC_CTX *mem_ctx;
BOOL ret = True;
@@ -339,7 +339,7 @@ BOOL torture_userdel(void)
struct dcerpc_pipe *p;
struct policy_handle h;
struct samr_String domain_name;
- char* name = TEST_USERNAME;
+ const char *name = TEST_USERNAME;
TALLOC_CTX *mem_ctx;
BOOL ret = True;