[sr-dev] git:master:3cd50f17: topos_redis: a few improvements for debugging output

Henning Westerholt hw at skalatan.de
Thu Aug 15 16:30:08 CEST 2019


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

Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2019-08-15T16:23:58+02:00

topos_redis: a few improvements for debugging output

---

Modified: src/modules/topos_redis/topos_redis_storage.c

---

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

---

diff --git a/src/modules/topos_redis/topos_redis_storage.c b/src/modules/topos_redis/topos_redis_storage.c
index 47ddad0c1a..3cc24ef558 100644
--- a/src/modules/topos_redis/topos_redis_storage.c
+++ b/src/modules/topos_redis/topos_redis_storage.c
@@ -360,7 +360,7 @@ int tps_redis_insert_invite_branch(tps_data_t *td)
 		}
 		return -1;
 	}
-	LM_DBG("inserting branch record for [%.*s] with argc %d\n",
+	LM_DBG("inserting invite branch record for [%.*s] with argc %d\n",
 			rkey.len, rkey.s, argc);
 
 	freeReplyObject(rrpl);
@@ -570,7 +570,7 @@ int tps_redis_load_invite_branch(sip_msg_t *msg, tps_data_t *md, tps_data_t *sd)
 		return -1;
 
 	if(md->a_callid.len<=0 || md->b_tag.len<=0) {
-		LM_INFO("no call-id or to-rag for this message\n");
+		LM_INFO("no call-id or to-tag for this message\n");
 		return -1;
 	}
 
@@ -607,7 +607,7 @@ int tps_redis_load_invite_branch(sip_msg_t *msg, tps_data_t *md, tps_data_t *sd)
 	argvlen[argc] = rkey.len;
 	argc++;
 
-	LM_DBG("loading branch record for [%.*s]\n", rkey.len, rkey.s);
+	LM_DBG("loading invite branch record for [%.*s]\n", rkey.len, rkey.s);
 
 	rrpl = _tps_redis_api.exec_argv(rsrv, argc, (const char **)argv, argvlen);
 	if(rrpl==NULL) {




More information about the sr-dev mailing list