From 25efdcec0311d2db2b06981a1e54aa14525e3992 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 6 Dec 2011 21:51:33 +0000 Subject: [PATCH] add some debug messages --- daemon/call.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/daemon/call.c b/daemon/call.c index 7289e9a89..90d9c11f9 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -771,6 +771,9 @@ static int call_streams(struct call *c, GQueue *s, const char *tag, int opmode) cs_o = l->data; for (x = 0; x < 2; x++) { r = &cs_o->peers[x].rtps[0]; + DBG("comparing new "IPF":%u/%s to old "IPF":%u/%s", + IPP(t->ip), t->port, tag, + IPP(r->peer_advertised.ip), r->peer_advertised.port, cs_o->peers[x].tag); if (r->peer_advertised.ip != t->ip) continue; if (r->peer_advertised.port != t->port) @@ -836,6 +839,7 @@ found: we already have. check whether the direction is reversed or not and return the appropriate details. if no matching stream was found, results are undefined. */ + DBG("double lookup"); if (p == r->up) goto skip; if (p2 == r->up) {