summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2002-04-25 18:52:09 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2002-04-25 18:52:09 +0000
commitb5df4f1cf0c54c8703ab6ea93a7613e1932e268a (patch)
treec4979232d1618162746494e5e2e47ade2eb2cda7 /src
parentd7c3f236105462b73bc4f16a682dff20c0a1c2fd (diff)
downloadtinyproxy-b5df4f1cf0c54c8703ab6ea93a7613e1932e268a.tar.gz
tinyproxy-b5df4f1cf0c54c8703ab6ea93a7613e1932e268a.zip
hashmap_search() only takes two arguments, so removed the unneeded NULL.
Diffstat (limited to '')
-rw-r--r--src/anonymous.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/anonymous.c b/src/anonymous.c
index c5d6b35..3f6f1b0 100644
--- a/src/anonymous.c
+++ b/src/anonymous.c
@@ -1,4 +1,4 @@
-/* $Id: anonymous.c,v 1.12 2002-04-16 03:19:19 rjkaes Exp $
+/* $Id: anonymous.c,v 1.13 2002-04-25 18:52:09 rjkaes Exp $
*
* Handles insertion and searches for headers which should be let through when
* the anonymous feature is turned on.
@@ -41,7 +41,7 @@ anonymous_search(char *s)
assert(s != NULL);
assert(anonymous_map != NULL);
- return hashmap_search(anonymous_map, s, NULL);
+ return hashmap_search(anonymous_map, s);
}
/*
@@ -63,7 +63,7 @@ anonymous_insert(char *s)
return -1;
}
- if (hashmap_search(anonymous_map, s, NULL) > 0) {
+ if (hashmap_search(anonymous_map, s) > 0) {
/* The key was already found, so return a positive number. */
return 0;
}