From b5df4f1cf0c54c8703ab6ea93a7613e1932e268a Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Thu, 25 Apr 2002 18:52:09 +0000 Subject: hashmap_search() only takes two arguments, so removed the unneeded NULL. --- src/anonymous.c | 6 +++--- 1 file 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; } -- cgit v1.2.3