[Pkg-telepathy-commits] [libnice] 76/265: agent: Fix format specifiers in debug messages

Simon McVittie smcv at debian.org
Wed May 14 12:04:54 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 12ee430ef3dbe61e52fe1ace5196f1931cf1e2c4
Author: Philip Withnall <philip.withnall at collabora.co.uk>
Date:   Tue Dec 17 09:34:36 2013 +0000

    agent: Fix format specifiers in debug messages
    
    Mostly problems with the specifier for gsize.
---
 agent/agent.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/agent/agent.c b/agent/agent.c
index 95e6a44..261fd56 100644
--- a/agent/agent.c
+++ b/agent/agent.c
@@ -2339,7 +2339,7 @@ _nice_agent_recv_locked (
   if (len == 0) {
     return 0;
   } else if (len < 0) {
-    nice_debug ("Agent %p: %s returned %d, errno (%d) : %s",
+    nice_debug ("Agent %p: %s returned %" G_GSSIZE_FORMAT ", errno (%d) : %s",
         agent, G_STRFUNC, len, errno, g_strerror (errno));
 
     return len;
@@ -2349,7 +2349,7 @@ _nice_agent_recv_locked (
   if (len > 0) {
     gchar tmpbuf[INET6_ADDRSTRLEN];
     nice_address_to_string (&from, tmpbuf);
-    nice_debug ("Agent %p : Packet received on local socket %d from [%s]:%u (%d octets).", agent,
+    nice_debug ("Agent %p : Packet received on local socket %d from [%s]:%u (%" G_GSSIZE_FORMAT " octets).", agent,
         g_socket_get_fd (socket->fileno), tmpbuf, nice_address_get_port (&from), len);
   }
 #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