Mercurial > dnsbl
comparison src/dnsbl.cpp @ 173:83fe0be032c1 stable-6-0-9
fix leak, update timestamps when receiving auto-whitelisted sender
author | carl |
---|---|
date | Thu, 06 Sep 2007 09:50:05 -0700 |
parents | d3189495ec68 |
children | da0c41b9f672 |
comparison
equal
deleted
inserted
replaced
172:d3189495ec68 | 173:83fe0be032c1 |
---|---|
986 char *loto = to_lower_string(rcptaddr); | 986 char *loto = to_lower_string(rcptaddr); |
987 if (priv.assassin) priv.assassin->mlfi_envrcpt(ctx, loto); | 987 if (priv.assassin) priv.assassin->mlfi_envrcpt(ctx, loto); |
988 // priv.mailaddr sending original message to loto | 988 // priv.mailaddr sending original message to loto |
989 CONTEXT &con = *(dc.find_context(loto)->find_context(priv.mailaddr)); | 989 CONTEXT &con = *(dc.find_context(loto)->find_context(priv.mailaddr)); |
990 VERIFYP ver = con.find_verify(loto); | 990 VERIFYP ver = con.find_verify(loto); |
991 char *fromvalue = con.find_from(priv.mailaddr); | 991 char *fromvalue = con.find_from(priv.mailaddr, true); |
992 // loto sending a reply back to priv.mailaddr | 992 // loto sending a reply back to priv.mailaddr |
993 CONTEXT &con2 = *(dc.find_context(priv.mailaddr)->find_context(loto)); | 993 CONTEXT &con2 = *(dc.find_context(priv.mailaddr)->find_context(loto)); |
994 char *replyvalue = con2.find_from(loto); | 994 char *replyvalue = con2.find_from(loto); |
995 if (debug_syslog > 1) { | 995 if (debug_syslog > 1) { |
996 char buf[maxlen]; | 996 char buf[maxlen]; |