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

Commit 973947b6 authored by rswindell's avatar rswindell

Don't decrement active_clients if already 0.

parent 706ba6f7
......@@ -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();
......
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