You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2005/04/26 23:40:21 UTC

svn commit: r164893 - /spamassassin/trunk/t/uri.t

Author: felicity
Date: Tue Apr 26 14:40:21 2005
New Revision: 164893

URL: http://svn.apache.org/viewcvs?rev=164893&view=rev
Log:
deal with uri_to_domain returning undef when it's not expected as well ...

Modified:
    spamassassin/trunk/t/uri.t

Modified: spamassassin/trunk/t/uri.t
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/t/uri.t?rev=164893&r1=164892&r2=164893&view=diff
==============================================================================
--- spamassassin/trunk/t/uri.t (original)
+++ spamassassin/trunk/t/uri.t Tue Apr 26 14:40:21 2005
@@ -63,6 +63,9 @@
   if (!defined $expect) {
     return !defined $result;
   }
+  elsif (!defined $result) {
+    return 0;
+  }
 
   if ($expect eq $result) {
     return 1;