71 |
|
if (OptionsItem->negcache == 0) |
72 |
|
return NULL; |
73 |
|
|
74 |
< |
patricia_node_t *pnode = try_search_exact(negcache_trie, (char *)ipstr); |
74 |
> |
patricia_node_t *pnode = try_search_exact(negcache_trie, ipstr); |
75 |
|
if (pnode) |
76 |
|
{ |
77 |
|
struct negcache_item *n = pnode->data; |
90 |
|
void |
91 |
|
negcache_insert(const char *ipstr) |
92 |
|
{ |
93 |
< |
patricia_node_t *pnode = make_and_lookup(negcache_trie, (char *)ipstr); |
93 |
> |
patricia_node_t *pnode = make_and_lookup(negcache_trie, ipstr); |
94 |
|
if (!pnode) |
95 |
|
return; /* Malformed IP address */ |
96 |
|
|