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)
  • Rob Swindell's avatar
    Remove extraneous (void) typedefs · b62505ad
    Rob Swindell authored
    See if this resolves rjwboys reported error:
    threadwrap.h:204:42: error: expected expression before ‘do’
     #define protected_uint32_init(pval, val) atomic_init(pval, val)
    b62505ad
......@@ -5128,11 +5128,11 @@ void DLLCALL ftp_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 {
listInit(&current_connections, LINK_LIST_MUTEX);
(void)protected_uint32_init(&active_clients, 0);
protected_uint32_init(&active_clients, 0);
/* Setup intelligent defaults */
if(startup->port==0) startup->port=IPPORT_FTP;
......