summaryrefslogtreecommitdiff
path: root/src/lists.c
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-04-07 13:09:34 +0200
committerPaweł Redman <pawel.redman@gmail.com>2017-04-07 13:09:34 +0200
commit848eb855fe98d51b98b096bf4453ab7333192042 (patch)
tree19c17c64c1bbf82321a3ec4c0eb2319da3c9c926 /src/lists.c
parent03d33627e9341cc161c459d4a557c547cade28af (diff)
(WIP) Handle errors and timeouts in whois.enneract/wip
Diffstat (limited to 'src/lists.c')
-rw-r--r--src/lists.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lists.c b/src/lists.c
index 0a308c0..ea35cea 100644
--- a/src/lists.c
+++ b/src/lists.c
@@ -171,7 +171,7 @@ int lists_test(const char *revdns, const char *whois)
!strstr(revdns, entry->pattern))
continue;
- if (entry->type == ENTRY_WHOIS &&
+ if (whois && entry->type == ENTRY_WHOIS &&
!strstr(whois, entry->pattern))
continue;