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

Change-Id: I5f8b45d6580d42b00de847c8100023b414771939
This commit is contained in:
Neels Hofmeyr 2017-11-22 01:58:00 +01:00
parent fef670b76d
commit d1ec1113ac
1 changed files with 3 additions and 2 deletions

View File

@ -86,8 +86,6 @@ struct gsm_trans *trans_alloc(struct gsm_network *net,
{
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 @@ struct gsm_trans *trans_alloc(struct gsm_network *net,
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;