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 249faa11 authored by deuce's avatar deuce

Better anti-crash behaviour.

parent 20bb4a6d
...@@ -605,8 +605,7 @@ static BOOL session_check(http_session_t *session, BOOL *rd, BOOL *wr, unsigned ...@@ -605,8 +605,7 @@ static BOOL session_check(http_session_t *session, BOOL *rd, BOOL *wr, unsigned
*wr=1; *wr=1;
if(rd || wr == NULL) { if(rd || wr == NULL) {
if(session->tls_pending) { if(session->tls_pending) {
if (rd) *rd_ptr = TRUE;
*rd = TRUE;
return TRUE; return TRUE;
} }
} }
......
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