diff options
Diffstat (limited to 'PICA_nodewait.c')
| -rw-r--r-- | PICA_nodewait.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/PICA_nodewait.c b/PICA_nodewait.c index c2467e1..64ee270 100644 --- a/PICA_nodewait.c +++ b/PICA_nodewait.c @@ -173,6 +173,7 @@ static void *nodewait_connect_thread (void *arg) if (!SSL_set_fd(nw->nc.anonssl, nw->nc.sck) || 1 != SSL_connect(nw->nc.anonssl)) { SSL_free(nw->nc.anonssl); + nw->nc.anonssl = NULL; CLOSE(nw->nc.sck); ap = ap->ai_next; continue; |
