diff options
Diffstat (limited to 'tools/libskrewt.c')
-rw-r--r-- | tools/libskrewt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/libskrewt.c b/tools/libskrewt.c index f51a8bc..c8f2ccd 100644 --- a/tools/libskrewt.c +++ b/tools/libskrewt.c @@ -223,7 +223,8 @@ void check_spf(name_tester& fqdn, const string ip) { "", /* rcpt_to */ 0 /* verbosity */ ); - cerr << progid << " " << my_spf.explain() << endl; + string exp = my_spf.explain(); + if (exp != "") cerr << progid << " " << exp << endl; // keep a copy of the result: fqdn.spf = neutral; if (my_spf.result == SPF_RESULT_PASS) fqdn.spf = pass; |