summaryrefslogtreecommitdiffhomepage
path: root/src/anonymous.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-05 00:14:20 +0200
committerMichael Adam <obnox@samba.org>2009-08-05 00:14:20 +0200
commitc6475974b5e99595d4b884612900814d0ec85634 (patch)
tree72396773723f4e40241e33ea50f5c8a79868fe94 /src/anonymous.c
parentcaf20d786b237fc654e7c66fe5d23de489f14416 (diff)
add const to the key argument for anonymous_search().
Michael
Diffstat (limited to 'src/anonymous.c')
-rw-r--r--src/anonymous.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/anonymous.c b/src/anonymous.c
index 87dfaf5..59d9d4a 100644
--- a/src/anonymous.c
+++ b/src/anonymous.c
@@ -40,7 +40,7 @@ is_anonymous_enabled (void)
* zero if the string was found, zero if it wasn't and negative upon error.
*/
int
-anonymous_search (char *s)
+anonymous_search (const char *s)
{
assert (s != NULL);
assert (anonymous_map != NULL);