[Pkg-telepathy-commits] [libnice] 25/265: agent: Add missing format specifiers to debug messages

Simon McVittie smcv at debian.org
Wed May 14 12:04:49 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository libnice.

commit f2d6ae2fd904f9c4e7db59e1684e0d90434cf0ad
Author: Philip Withnall <philip.withnall at collabora.co.uk>
Date:   Tue Dec 17 09:35:04 2013 +0000

    agent: Add missing format specifiers to debug messages
---
 agent/agent.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/agent/agent.c b/agent/agent.c
index 6d1bc2b..0ebbf1e 100644
--- a/agent/agent.c
+++ b/agent/agent.c
@@ -2986,13 +2986,13 @@ _priv_set_socket_tos (NiceAgent *agent, NiceSocket *sock, gint tos)
 {
   if (setsockopt (g_socket_get_fd (sock->fileno), IPPROTO_IP,
           IP_TOS, (const char *) &tos, sizeof (tos)) < 0) {
-    nice_debug ("Agent %p: Could not set socket ToS", agent,
+    nice_debug ("Agent %p: Could not set socket ToS: %s", agent,
         g_strerror (errno));
   }
 #ifdef IPV6_TCLASS
   if (setsockopt (g_socket_get_fd (sock->fileno), IPPROTO_IPV6,
           IPV6_TCLASS, (const char *) &tos, sizeof (tos)) < 0) {
-    nice_debug ("Agent %p: Could not set IPV6 socket ToS", agent,
+    nice_debug ("Agent %p: Could not set IPV6 socket ToS: %s", agent,
         g_strerror (errno));
   }
 #endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/libnice.git



More information about the Pkg-telepathy-commits mailing list