gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r18859 - in gnunet/src: statistics transport


From: gnunet
Subject: [GNUnet-SVN] r18859 - in gnunet/src: statistics transport
Date: Fri, 30 Dec 2011 23:47:14 +0100

Author: grothoff
Date: 2011-12-30 23:47:14 +0100 (Fri, 30 Dec 2011)
New Revision: 18859

Modified:
   gnunet/src/statistics/gnunet-statistics.c
   gnunet/src/transport/gnunet-transport.c
Log:
-fixing format strings

Modified: gnunet/src/statistics/gnunet-statistics.c
===================================================================
--- gnunet/src/statistics/gnunet-statistics.c   2011-12-30 22:45:32 UTC (rev 
18858)
+++ gnunet/src/statistics/gnunet-statistics.c   2011-12-30 22:47:14 UTC (rev 
18859)
@@ -95,7 +95,7 @@
 
   if (success != GNUNET_OK)
   {
-    FPRINTF (stderr, _("Failed to obtain statistics.\n"),NULL);
+    FPRINTF (stderr, "%s", _("Failed to obtain statistics.\n"));
     ret = 1;
   }
   if (h != NULL)

Modified: gnunet/src/transport/gnunet-transport.c
===================================================================
--- gnunet/src/transport/gnunet-transport.c     2011-12-30 22:45:32 UTC (rev 
18858)
+++ gnunet/src/transport/gnunet-transport.c     2011-12-30 22:47:14 UTC (rev 
18859)
@@ -246,8 +246,9 @@
                                              &plugins))
   {
     FPRINTF (stderr,
-             _
-             ("No transport plugins configured, peer will never 
communicate\n"), NULL);
+             "%s",
+            _
+             ("No transport plugins configured, peer will never 
communicate\n"));
     ret = 4;
     return;
   }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]