diff options
author | Michael Adam <obnox@samba.org> | 2009-08-05 00:15:04 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-05 00:15:04 +0200 |
commit | 2ca1f9027b588505707d9affea4aaec714caa862 (patch) | |
tree | f65c8e9fadb2ce90b1226bb89b97ec7001c5c453 /src | |
parent | c6475974b5e99595d4b884612900814d0ec85634 (diff) | |
download | tinyproxy-2ca1f9027b588505707d9affea4aaec714caa862.tar.gz tinyproxy-2ca1f9027b588505707d9affea4aaec714caa862.zip |
add const to the key argument of anonymous_insert().
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 59d9d4a..bfd2dc6 100644 --- a/src/anonymous.c +++ b/src/anonymous.c @@ -55,7 +55,7 @@ anonymous_search (const char *s) * successful. */ int -anonymous_insert (char *s) +anonymous_insert (const char *s) { char data = 1; diff --git a/src/anonymous.h b/src/anonymous.h index bd26323..0ca980e 100644 --- a/src/anonymous.h +++ b/src/anonymous.h @@ -23,6 +23,6 @@ extern short int is_anonymous_enabled (void); extern int anonymous_search (const char *s); -extern int anonymous_insert (char *s); +extern int anonymous_insert (const char *s); #endif |