Skip to content
Snippets Groups Projects
Commit 6df7e337 authored by rswindell's avatar rswindell
Browse files

Now logs total length of telegram received via SMTP SOML command.

parent 9f4a3957
No related branches found
No related tags found
No related merge requests found
......@@ -1532,8 +1532,8 @@ static void smtp_thread(void* arg)
break;
truncsp(rcpt_addr);
putsmsg(&scfg,usernum,telegram_buf);
lprintf("%04d SMTP Created telegram (%ld bytes) from %s to %s <%s>"
,socket, length, sender_addr, rcpt_name, rcpt_addr);
lprintf("%04d SMTP Created telegram (%ld/%u bytes) from %s to %s <%s>"
,socket, length, sizeof(telegram_buf), sender_addr, rcpt_name, rcpt_addr);
rcpt_count++;
}
free(telegram_buf);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment