[PATCH] osmo-msc[master]: cosmetic: log: CC trans_alloc: log trans_id and subscr, not ...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Wed Nov 22 16:03:26 UTC 2017


Review at  https://gerrit.osmocom.org/4967

cosmetic: log: CC trans_alloc: log trans_id and subscr, not memory addrs

Change-Id: I5f8b45d6580d42b00de847c8100023b414771939
---
M src/libmsc/transaction.c
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/67/4967/1

diff --git a/src/libmsc/transaction.c b/src/libmsc/transaction.c
index bac31a1..01d69c2 100644
--- a/src/libmsc/transaction.c
+++ b/src/libmsc/transaction.c
@@ -86,8 +86,6 @@
 {
 	struct gsm_trans *trans;
 
-	DEBUGP(DCC, "subscr=%p, net=%p\n", vsub, net);
-
 	/* a valid subscriber is indispensable */
 	if (vsub == NULL) {
 		LOGP(DCC, LOGL_NOTICE,
@@ -95,6 +93,9 @@
 		return NULL;
 	}
 
+	DEBUGP(DCC, "(ti %02x sub %s callref %x) New transaction\n",
+	       trans_id, vlr_subscr_name(vsub), callref);
+
 	trans = talloc_zero(tall_trans_ctx, struct gsm_trans);
 	if (!trans)
 		return NULL;

-- 
To view, visit https://gerrit.osmocom.org/4967
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5f8b45d6580d42b00de847c8100023b414771939
Gerrit-PatchSet: 1
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list