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

Commit 4024e51a authored by deuce's avatar deuce

Fix an error nobody has ever seen.

parent 2c84e156
......@@ -2212,8 +2212,9 @@ static int recvbufsocket(http_session_t *session, char *buf, long count)
switch(i) {
case -1:
if(session->is_tls || ERROR_VALUE!=EAGAIN)
if (ERROR_VALUE == EAGAIN && !session->is_tls)
// Fall-through...
case 0:
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