Module: kamailio Branch: master Commit: a21ae6ea14de0f7db2a66d806ecab4888dec0093 URL: https://github.com/kamailio/kamailio/commit/a21ae6ea14de0f7db2a66d806ecab488...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@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/a21ae6ea14de0f7db2a66d806ecab488... Patch: https://github.com/kamailio/kamailio/commit/a21ae6ea14de0f7db2a66d806ecab488...
---
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) {