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 7819 by michael, Wed Oct 19 21:20:27 2016 UTC vs.
Revision 7820 by michael, Wed Oct 19 21:27:53 2016 UTC

# Line 98 | Line 98 | negcache_insert(const char *ipstr)
98   {
99    patricia_node_t *pnode = make_and_lookup(negcache_trie, (char *)ipstr);
100    if (!pnode)
101 <    return;
101 >    return;  /* Malformed IP address */
102  
103    struct negcache_item *n = xcalloc(sizeof(*n));
104    n->seen = time(NULL);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines