diff --git a/bin/dig/nslookup.c b/bin/dig/nslookup.c index dcd646d687..096fa6ada2 100644 --- a/bin/dig/nslookup.c +++ b/bin/dig/nslookup.c @@ -599,7 +599,7 @@ setoption(char *opt) { #define CHECKOPT(A, N) \ ((l >= N) && (l < sizeof(A)) && (strncasecmp(opt, A, l) == 0)) - if (CHECKOPT("all", 3) == 0) { + if (CHECKOPT("all", 3)) { show_settings(ISC_TRUE, ISC_FALSE); } else if (strncasecmp(opt, "class=", 6) == 0) { if (testclass(&opt[6]))