Make sure that we only output the message handling debug when we're actually debugging
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@473 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
3
q921.c
3
q921.c
@@ -1062,7 +1062,8 @@ static pri_event *__q921_receive(struct pri *pri, q921_h *h, int len)
|
||||
}
|
||||
|
||||
}
|
||||
pri_message(pri, "Handling message for SAPI/TEI=%d/%d\n", h->h.sapi, h->h.tei);
|
||||
if (pri->debug & PRI_DEBUG_Q921_DUMP)
|
||||
pri_message(pri, "Handling message for SAPI/TEI=%d/%d\n", h->h.sapi, h->h.tei);
|
||||
ev = __q921_receive_qualified(pri, h, len);
|
||||
reschedule_t203(pri);
|
||||
return ev;
|
||||
|
||||
Reference in New Issue
Block a user