[sr-dev] git:master:a21ae6ea: topos: fix typos in the debug messages

Daniel-Constantin Mierla miconda at gmail.com
Wed Feb 13 09:43:18 CET 2019


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-02-12T23:49:08+01:00

topos: fix typos in the debug messages

---

Modified: src/modules/topos/tps_msg.c

---

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

---

diff --git a/src/modules/topos/tps_msg.c b/src/modules/topos/tps_msg.c
index 897f3b675e..3bb5f12f46 100644
--- a/src/modules/topos/tps_msg.c
+++ b/src/modules/topos/tps_msg.c
@@ -346,7 +346,7 @@ int tps_pack_message(sip_msg_t *msg, tps_data_t *ptsd)
 			i++;
 			vlen = tps_skip_rw(via->name.s, via->bsize);
 			if(ptsd->cp + vlen + 2 >= ptsd->cbuf + TPS_DATA_SIZE) {
-				LM_ERR("no more spage to pack via headers\n");
+				LM_ERR("no more space to pack via headers\n");
 				return -1;
 			}
 			if(i>1) {
@@ -393,7 +393,7 @@ int tps_pack_message(sip_msg_t *msg, tps_data_t *ptsd)
 		for(rr =(rr_t*)hdr->parsed; rr; rr=rr->next) {
 			i++;
 			if(ptsd->cp + rr->nameaddr.uri.len + 4 >= ptsd->cbuf + TPS_DATA_SIZE) {
-				LM_ERR("no more spage to pack rr headers\n");
+				LM_ERR("no more space to pack rr headers\n");
 				return -1;
 			}
 			if(isreq==1) {




More information about the sr-dev mailing list