Update of /cvsroot/tmda/tmda/bin
In directory usw-pr-cvs1:/tmp/cvs-serv10213/bin

Modified Files:
        tmda-rfilter 
Log Message:
Bugfix.  logit() was being called with 2 args in verify_dated_cookie().

Reported by Drew Raines in
<[EMAIL PROTECTED]> on tmda-workers.


Index: tmda-rfilter
===================================================================
RCS file: /cvsroot/tmda/tmda/bin/tmda-rfilter,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- tmda-rfilter        8 Aug 2002 16:49:46 -0000       1.59
+++ tmda-rfilter        11 Aug 2002 00:56:55 -0000      1.60
@@ -504,10 +504,9 @@
                           'action_fail_dated',
                           Defaults.BOUNCE_TEXT_FAIL_DATED)
     else:
-        now = time.time()
-        if int(cookie_date) >= int('%d' % now):
+        if int(cookie_date) >= int('%d' % time.time()):
             logit("OK good_dated_cookie (%s)" % \
-                  Util.unixdate(int(cookie_date)), now)
+                  Util.unixdate(int(cookie_date)))
             mta.deliver(message_headers, message_body)
         else:
             logmsg = "action_expired_dated (%s)" % \

_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs

Reply via email to