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 <[email protected]>

Reply via email to