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

Commits (1)
......@@ -6048,12 +6048,12 @@ void DLLCALL mail_server(void* arg)
terminate_server=FALSE;
SetThreadName("sbbs/mailServer");
(void)protected_uint32_init(&thread_count, 0);
protected_uint32_init(&thread_count, 0);
do {
listInit(&current_logins, LINK_LIST_MUTEX);
listInit(&current_connections, LINK_LIST_MUTEX);
(void)protected_uint32_init(&active_clients, 0);
protected_uint32_init(&active_clients, 0);
/* Setup intelligent defaults */
if(startup->relay_port==0) startup->relay_port=IPPORT_SMTP;
......
......@@ -477,7 +477,7 @@ void status_thread(void *arg)
return;
}
(void)protected_uint32_init(&thread_count, 0);
protected_uint32_init(&thread_count, 0);
pthread_once(&init_once, init_lists);
startup->status(startup->cbdata, "Initializing");
......@@ -505,7 +505,7 @@ void status_thread(void *arg)
if(startup->host_name[0]==0)
SAFECOPY(startup->host_name,scfg.sys_inetaddr);
prep_dir(scfg.ctrl_dir, scfg.temp_dir, sizeof(scfg.temp_dir));
(void)protected_uint32_init(&active_clients, 0);
protected_uint32_init(&active_clients, 0);
update_clients();
startup->thread_up(startup->cbdata, TRUE, TRUE);
......
......@@ -6950,10 +6950,10 @@ void DLLCALL web_server(void* arg)
startup->recycle_now=FALSE;
startup->shutdown_now=FALSE;
terminate_server=FALSE;
(void)protected_uint32_init(&thread_count, 0);
protected_uint32_init(&thread_count, 0);
do {
(void)protected_uint32_init(&active_clients,0);
protected_uint32_init(&active_clients,0);
/* Setup intelligent defaults */
if(startup->port==0) startup->port=IPPORT_HTTP;
......