[sr-dev] git:master:ff9b030b: tls: Fix typos

Henning Westerholt hw at gilawa.com
Sun May 8 17:30:23 CEST 2022

Module: kamailio
Branch: master
Commit: ff9b030be39f82d0e952301ddd0b61a0de5a8041
URL: https://github.com/kamailio/kamailio/commit/ff9b030be39f82d0e952301ddd0b61a0de5a8041

Author: Bastian Triller <bastian.triller at gmail.com>
Committer: Henning Westerholt <hw at gilawa.com>
Date: 2022-05-08T17:30:14+02:00

tls: Fix typos


Modified: src/modules/tls/tls_server.c


Diff:  https://github.com/kamailio/kamailio/commit/ff9b030be39f82d0e952301ddd0b61a0de5a8041.diff
Patch: https://github.com/kamailio/kamailio/commit/ff9b030be39f82d0e952301ddd0b61a0de5a8041.patch


diff --git a/src/modules/tls/tls_server.c b/src/modules/tls/tls_server.c
index 7004096adf..00686a07dd 100644
--- a/src/modules/tls/tls_server.c
+++ b/src/modules/tls/tls_server.c
@@ -737,7 +737,7 @@ void tls_h_tcpconn_close_f(struct tcp_connection *c, int fd)
 			tls_mbuf_init(&rd, 0, 0); /* no read */
 			tls_mbuf_init(&wr, wr_buf, sizeof(wr_buf));
 			if (tls_set_mbufs(c, &rd, &wr)==0) {
-				tls_shutdown(c); /* shudown only on succesfull set fd */
+				tls_shutdown(c); /* shutdown only on successful set fd */
 				/* write as much as possible and update wr.
 				 * Since this is a close, we don't want to queue the write
 				 * (if it can't write immediately, just fail silently)

More information about the sr-dev mailing list