Bug Tracker item #3242587, was opened at 2011-03-25 04:19
Message generated for change (Comment added) made by sbajic
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=3242587&group_id=250683

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: daemon
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Thiago Pinto Damas (tpdamas)
>Assigned to: Stevan Bajic (sbajic)
Summary: Lookup not working

Initial Comment:
Testing the "Lookup" feature, I verified that it was not working.
After applying the following patch, it worker for me:

--- src/dspam.c.orig    2011-03-25 00:14:16.000000000 -0300
+++ src/dspam.c 2011-03-24 16:56:22.000000000 -0300
@@ -3857,7 +3857,7 @@
     while(ptr != NULL && i>=0 && i<4) {
       octet[i] = ptr;
       ptr = strtok(NULL, ".");
-      if (ptr == NULL && i!=4)
+      if (ptr == NULL && i!=0)
         return 0;
       i--;
     }


----------------------------------------------------------------------

>Comment By: Stevan Bajic (sbajic)
Date: 2011-05-14 09:43

Message:
Thanks for reporting. It's fixed now in GIT.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=3242587&group_id=250683

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Dspam-devel mailing list
Dspam-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Reply via email to