[sr-dev] git:master:f60b6e45: topos_redis: print expires value in log messages

Daniel-Constantin Mierla miconda at gmail.com
Mon Feb 11 23:54:40 CET 2019


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-02-11T23:53:56+01:00

topos_redis: print expires value in log messages

---

Modified: src/modules/topos_redis/topos_redis_storage.c

---

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

---

diff --git a/src/modules/topos_redis/topos_redis_storage.c b/src/modules/topos_redis/topos_redis_storage.c
index ed8a7616dc..47ddad0c1a 100644
--- a/src/modules/topos_redis/topos_redis_storage.c
+++ b/src/modules/topos_redis/topos_redis_storage.c
@@ -279,7 +279,7 @@ int tps_redis_insert_dialog(tps_data_t *td)
 		}
 		return -1;
 	}
-	LM_DBG("expire set on dialog record for [%.*s] with argc %d\n",
+	LM_DBG("expire %lu set on dialog record for [%.*s] with argc %d\n", lval,
 			rkey.len, rkey.s, argc);
 	freeReplyObject(rrpl);
 
@@ -390,7 +390,7 @@ int tps_redis_insert_invite_branch(tps_data_t *td)
 		}
 		return -1;
 	}
-	LM_DBG("expire set on branch record for [%.*s] with argc %d\n",
+	LM_DBG("expire %lu set on branch record for [%.*s] with argc %d\n", lval,
 			rkey.len, rkey.s, argc);
 	freeReplyObject(rrpl);
 
@@ -518,7 +518,7 @@ int tps_redis_insert_branch(tps_data_t *td)
 		}
 		return -1;
 	}
-	LM_DBG("expire set on branch record for [%.*s] with argc %d\n",
+	LM_DBG("expire %lu set on branch record for [%.*s] with argc %d\n", lval,
 			rkey.len, rkey.s, argc);
 	freeReplyObject(rrpl);
 
@@ -1418,7 +1418,7 @@ int tps_redis_end_dialog(sip_msg_t *msg, tps_data_t *md, tps_data_t *sd)
 		}
 		return -1;
 	}
-	LM_DBG("expire set on branch record for [%.*s] with argc %d\n",
+	LM_DBG("expire %lu set on dialog record for [%.*s] with argc %d\n", lval,
 			rkey.len, rkey.s, argc);
 	freeReplyObject(rrpl);
 




More information about the sr-dev mailing list