summaryrefslogtreecommitdiff
path: root/stun
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2014-09-01 15:56:34 +0100
committerPhilip Withnall <philip.withnall@collabora.co.uk>2014-09-01 17:41:06 +0100
commitd9afbf284a36e1e9afd38620ec19d6c0a80293b5 (patch)
tree835b0201166dcebf190a9ea0c59c41b726ac42f3 /stun
parent8d53e347747ac27d742ab5cc47b4804662c80d81 (diff)
downloadlibnice-d9afbf284a36e1e9afd38620ec19d6c0a80293b5.tar.gz
stun: Make a warning message more prominent
Since dropping a STUN message due to having insufficient buffer space in libstun can cause ICE negotiation to fail. So we want it to be more obvious in the logs.
Diffstat (limited to 'stun')
-rw-r--r--stun/stunagent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stun/stunagent.c b/stun/stunagent.c
index df1cc69..1c73136 100644
--- a/stun/stunagent.c
+++ b/stun/stunagent.c
@@ -522,7 +522,7 @@ size_t stun_agent_finish_message (StunAgent *agent, StunMessage *msg,
}
}
if (saved_id_idx == STUN_AGENT_MAX_SAVED_IDS) {
- stun_debug ("Saved ids full");
+ stun_debug ("WARNING: Saved IDs full. STUN message dropped.");
return 0;
}