ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/src/negcache.c
(Generate patch)

Comparing hopm/trunk/src/negcache.c (file contents):
Revision 7822 by michael, Wed Oct 19 21:40:43 2016 UTC vs.
Revision 7823 by michael, Wed Oct 19 21:54:05 2016 UTC

# Line 71 | Line 71 | check_neg_cache(const char *ipstr)
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;
# Line 90 | Line 90 | check_neg_cache(const char *ipstr)
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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines