[sr-dev] git:5.4:80c834d1: core: fix typo in comment

Henning Westerholt hw at skalatan.de
Fri Oct 16 14:13:18 CEST 2020


Module: kamailio
Branch: 5.4
Commit: 80c834d1eea1e1917f185d9d1110c7d07bb27bd6
URL: https://github.com/kamailio/kamailio/commit/80c834d1eea1e1917f185d9d1110c7d07bb27bd6

Author: Bastian Triller <bastian.triller at gmail.com>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2020-10-16T12:13:05Z

core: fix typo in comment

---

Modified: src/core/socket_info.c

---

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

---

diff --git a/src/core/socket_info.c b/src/core/socket_info.c
index d2e1149356..a46aba24ad 100644
--- a/src/core/socket_info.c
+++ b/src/core/socket_info.c
@@ -2142,7 +2142,7 @@ void init_proto_order()
 
 
 /**
- * parse '[port:]host[:port]' string to a broken down structure
+ * parse '[proto:]host[:port]' string to a broken down structure
  */
 int parse_protohostport(str* ins, sr_phostp_t *r)
 {
@@ -2230,7 +2230,7 @@ int parse_protohostport(str* ins, sr_phostp_t *r)
 }
 
 /**
- * lookup a local socket by '[port:]host[:port]' string
+ * lookup a local socket by '[proto:]host[:port]' string
  */
 struct socket_info* lookup_local_socket(str *phostp)
 {




More information about the sr-dev mailing list