Skip to content
Snippets Groups Projects
Commit 249faa11 authored by deuce's avatar deuce
Browse files

Better anti-crash behaviour.

parent 20bb4a6d
No related branches found
No related tags found
No related merge requests found
...@@ -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;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment