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

sendmail_thread will now stop sending outbound mail if server is stopped.

parent 400c6ea3
No related branches found
No related tags found
No related merge requests found
......@@ -2014,6 +2014,9 @@ static void sendmail_thread(void* arg)
smb_rewind(smb.sid_fp);
for(offset=0;offset<total_msgs;offset++) {
if(server_socket==INVALID_SOCKET) /* server stopped */
break;
if(active_sendmail!=0) {
active_sendmail=0;
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