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 20bb4a6d authored by deuce's avatar deuce

Don't crash of rd is NULL.

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