diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-04-07 13:09:34 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-04-07 13:09:34 +0200 |
commit | 848eb855fe98d51b98b096bf4453ab7333192042 (patch) | |
tree | 19c17c64c1bbf82321a3ec4c0eb2319da3c9c926 /src/lists.c | |
parent | 03d33627e9341cc161c459d4a557c547cade28af (diff) |
(WIP) Handle errors and timeouts in whois.enneract/wip
Diffstat (limited to 'src/lists.c')
-rw-r--r-- | src/lists.c | 2 |
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; |