Browse code

tls: Fix typos

Bastian Triller authored on 05/05/2022 16:26:57
Showing 1 changed files
... ...
@@ -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)