CVS: tmda/bin tmda-rfilter,1.107,1.108

"Jason R. Mastaler" <[email protected]>
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda/bin
In directory sc8-pr-cvs1:/tmp/cvs-serv493/bin

Modified Files:
	tmda-rfilter 
Log Message:
'TIMEOUT' is a historical relic from TMDA's early days, but now it is
too easily confused with other aspects of the system.  It applies only
to dated style tagged addresses, so we rename it 'DATED_TIMEOUT' to
reduce confusion.


Index: tmda-rfilter
===================================================================
RCS file: /cvsroot/tmda/tmda/bin/tmda-rfilter,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -r1.107 -r1.108
--- tmda-rfilter	1 Jan 2004 23:22:19 -0000	1.107
+++ tmda-rfilter	9 Jan 2004 19:36:26 -0000	1.108
@@ -701,9 +701,10 @@
     pending_lifetime = Util.format_timeout(Defaults.PENDING_LIFETIME)
     # Optional 'dated' address variables.
     if Defaults.DATED_TEMPLATE_VARS:
-        dated_timeout = Util.format_timeout(Defaults.TIMEOUT)
+        dated_timeout = Util.format_timeout(Defaults.DATED_TIMEOUT)
         dated_expire_date = time.asctime(time.gmtime
-                                         (now + Util.seconds(Defaults.TIMEOUT)))
+                                         (now +
+                                          Util.seconds(Defaults.DATED_TIMEOUT)))
         dated_recipient_address = Cookie.make_dated_address(recipient_address)
     # Optional 'sender' address variables.
     if Defaults.SENDER_TEMPLATE_VARS:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.