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

SendMail thread suspends if MAIL_OPT_NO_SENDMAIL bit is set.

parent a5e51201
No related branches found
No related tags found
No related merge requests found
...@@ -1923,6 +1923,11 @@ static void sendmail_thread(void* arg) ...@@ -1923,6 +1923,11 @@ static void sendmail_thread(void* arg)
while(server_socket!=INVALID_SOCKET) { while(server_socket!=INVALID_SOCKET) {
if(startup->options&MAIL_OPT_NO_SENDMAIL) {
mswait(1000);
continue;
}
if(active_sendmail!=0) { if(active_sendmail!=0) {
active_sendmail=0; active_sendmail=0;
update_clients(); update_clients();
......
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