Mercurial > dnsbl
comparison src/context.cpp @ 438:1686cb639269 stable-6-0-65
code cleanup
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 03 Nov 2017 10:50:12 -0700 |
parents | 7b072e16bd69 |
children | 78eedbbce636 |
comparison
equal
deleted
inserted
replaced
437:f084285ceb52 | 438:1686cb639269 |
---|---|
930 if (update_white && queueid) { | 930 if (update_white && queueid) { |
931 // update senders timestamp to extend the whitelisting period | 931 // update senders timestamp to extend the whitelisting period |
932 if (debug_syslog > 1) { | 932 if (debug_syslog > 1) { |
933 char buf[maxlen]; | 933 char buf[maxlen]; |
934 char msg[maxlen]; | 934 char msg[maxlen]; |
935 snprintf(msg, sizeof(msg), "%s: extend whitelist reply from <%s> in context %s", queueid, from, get_full_name(buf,maxlen)); | 935 snprintf(msg, sizeof(msg), "extend whitelist reply from <%s> in context %s", from, get_full_name(buf,maxlen)); |
936 my_syslog(msg); | 936 my_syslog(queueid, msg); |
937 } | 937 } |
938 w->sent(strdup(from)); | 938 w->sent(strdup(from)); |
939 } | 939 } |
940 return token_white; | 940 return token_white; |
941 } | 941 } |