Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Ortmann committed Nov 21, 2023
1 parent e01efc4 commit a5d7b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ int sockread(char *s, int *len, sock_list *slist, int slistmax, int tclonly)

/* For each sock, first check for SSL_pending(), the check for select() */
#ifdef TLS
if ((x == 0) && !tclonly)
if (!tclonly)
for (i = 0; i < slistmax; i++)
if (!(slist[i].flags & (SOCK_UNUSED | SOCK_TCL)) && slist[i].ssl && SSL_pending(slist[i].ssl)) {
x = i;
Expand Down

0 comments on commit a5d7b59

Please sign in to comment.