Use full, 3-argument invocation of FRPINTF (again)
authorLRN <lrn1986@gmail.com>
Thu, 8 Nov 2012 16:50:17 +0000 (16:50 +0000)
committerLRN <lrn1986@gmail.com>
Thu, 8 Nov 2012 16:50:17 +0000 (16:50 +0000)
src/transport/gnunet-transport.c

index d83e9638f47d4d6181100cc5c8084da503b48a15..0297b4624a1fa2689a2630686b24e4691596dc3b 100644 (file)
@@ -748,7 +748,7 @@ testservice_task (void *cls,
                                        &notify_disconnect);
     if (NULL == handle)
     {
-        FPRINTF (stderr, _("Failed to connect to transport service\n"));
+        FPRINTF (stderr, "%s", _("Failed to connect to transport service\n"));
         ret = 1;
         return;
     }
@@ -772,7 +772,7 @@ testservice_task (void *cls,
                                        &notify_disconnect);
     if (NULL == handle)
     {
-        FPRINTF (stderr, _("Failed to connect to transport service\n"));
+        FPRINTF (stderr, "%s", _("Failed to connect to transport service\n"));
         ret = 1;
         return;
     }
@@ -788,12 +788,12 @@ testservice_task (void *cls,
                                   NULL, NULL);
     if (NULL == handle)
     {
-        FPRINTF (stderr, _("Failed to connect to transport service\n"));
+        FPRINTF (stderr, "%s", _("Failed to connect to transport service\n"));
         ret = 1;
         return;
     }
     if (verbosity > 0)
-      FPRINTF (stdout, _("Starting to receive benchmark data\n"));
+      FPRINTF (stdout, "%s", _("Starting to receive benchmark data\n"));
     start_time = GNUNET_TIME_absolute_get ();
 
   }
@@ -823,7 +823,7 @@ testservice_task (void *cls,
                                        &monitor_notify_disconnect);
     if (NULL == handle)
     {
-      FPRINTF (stderr, _("Failed to connect to transport service\n"));
+      FPRINTF (stderr, "%s", _("Failed to connect to transport service\n"));
       ret = 1;
       return;
     }