winbind: Make domain_name const in wcache_ndr_key().
authorAndreas Schneider <asn@samba.org>
Mon, 18 Feb 2013 14:44:20 +0000 (15:44 +0100)
committerAlexander Bokovoy <ab@samba.org>
Fri, 22 Feb 2013 15:36:12 +0000 (16:36 +0100)
Reviewed-by: Alexander Bokovoy <ab@samba.org>
source3/winbindd/winbindd_cache.c

index 252cf4a03c3f09392345e1a77f030142bbcc6e30..4b1e16c27948a1fa1e0208a3916c55e9a5d8fd17 100644 (file)
@@ -4834,7 +4834,7 @@ struct winbindd_methods cache_methods = {
        trusted_domains
 };
 
-static bool wcache_ndr_key(TALLOC_CTX *mem_ctx, char *domain_name,
+static bool wcache_ndr_key(TALLOC_CTX *mem_ctx, const char *domain_name,
                           uint32_t opnum, const DATA_BLOB *req,
                           TDB_DATA *pkey)
 {