diff options
author | Michael Adam <obnox@samba.org> | 2009-08-05 00:14:20 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-05 00:14:20 +0200 |
commit | c6475974b5e99595d4b884612900814d0ec85634 (patch) | |
tree | 72396773723f4e40241e33ea50f5c8a79868fe94 | |
parent | caf20d786b237fc654e7c66fe5d23de489f14416 (diff) | |
download | tinyproxy-c6475974b5e99595d4b884612900814d0ec85634.tar.gz tinyproxy-c6475974b5e99595d4b884612900814d0ec85634.zip |
add const to the key argument for anonymous_search().
Michael
Diffstat (limited to '')
-rw-r--r-- | src/anonymous.c | 2 | ||||
-rw-r--r-- | src/anonymous.h | 2 |
2 files changed, 2 insertions, 2 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); diff --git a/src/anonymous.h b/src/anonymous.h index b6c93be..bd26323 100644 --- a/src/anonymous.h +++ b/src/anonymous.h @@ -22,7 +22,7 @@ #define _TINYPROXY_ANONYMOUS_H_ extern short int is_anonymous_enabled (void); -extern int anonymous_search (char *s); +extern int anonymous_search (const char *s); extern int anonymous_insert (char *s); #endif |