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

Don't decrement active_clients if already 0.

parent 706ba6f7
No related branches found
No related tags found
No related merge requests found
......@@ -4232,7 +4232,8 @@ static void ctrl_thread(void* arg)
tmp_sock=sock;
ftp_close_socket(&tmp_sock,__LINE__);
active_clients--;
if(active_clients>0)
active_clients--;
update_clients();
thread_down();
......
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