[sr-dev] git:5.3:dbaeb966: core: fix typo in comment

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


Module: kamailio
Branch: 5.3
Commit: dbaeb966f46587e5d1e04683cddcc644c20027f2
URL: https://github.com/kamailio/kamailio/commit/dbaeb966f46587e5d1e04683cddcc644c20027f2

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

core: fix typo in comment

---

Modified: src/core/socket_info.c

---

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

---

diff --git a/src/core/socket_info.c b/src/core/socket_info.c
index 07b4a1e32a..25885695f8 100644
--- a/src/core/socket_info.c
+++ b/src/core/socket_info.c
@@ -2064,7 +2064,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)
 {
@@ -2152,7 +2152,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