Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, for more info) to build successfully.

Commit e9329f6c authored by Rob Swindell's avatar Rob Swindell 💬

Correct the parse_mail_address() argument order

Issue introduced in previous commit to this file. The name arg(s) comes before the address arg(s).
parent 2d90939b
Pipeline #1369 passed with stage
in 9 minutes and 37 seconds
......@@ -3534,7 +3534,7 @@ static void smtp_thread(void* arg)
char from_addr[128];
parse_mail_address(p, from_addr, sizeof(from_addr)-1, /* name: */NULL, 0);
parse_mail_address(p, /* name: */NULL, 0, from_addr, sizeof(from_addr)-1);
if(dnsbl_result.s_addr && email_addr_is_exempt(from_addr)) {
lprintf(LOG_INFO,"%04d %s %s Ignoring DNSBL results for exempt sender (from): %s"
,socket, client.protocol, client_id, from_addr);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment