(cherry picked from commit ff9b030be39f82d0e952301ddd0b61a0de5a8041)
... | ... |
@@ -737,7 +737,7 @@ void tls_h_tcpconn_close_f(struct tcp_connection *c, int fd) |
737 | 737 |
tls_mbuf_init(&rd, 0, 0); /* no read */ |
738 | 738 |
tls_mbuf_init(&wr, wr_buf, sizeof(wr_buf)); |
739 | 739 |
if (tls_set_mbufs(c, &rd, &wr)==0) { |
740 |
- tls_shutdown(c); /* shudown only on succesfull set fd */ |
|
740 |
+ tls_shutdown(c); /* shutdown only on successful set fd */ |
|
741 | 741 |
/* write as much as possible and update wr. |
742 | 742 |
* Since this is a close, we don't want to queue the write |
743 | 743 |
* (if it can't write immediately, just fail silently) |