gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r8958 - in gnunet/src: datastore hello util


From: gnunet
Subject: [GNUnet-SVN] r8958 - in gnunet/src: datastore hello util
Date: Mon, 7 Sep 2009 06:44:08 -0600

Author: grothoff
Date: 2009-09-07 06:44:07 -0600 (Mon, 07 Sep 2009)
New Revision: 8958

Modified:
   gnunet/src/datastore/perf_datastore_api.c
   gnunet/src/hello/test_hello.c
   gnunet/src/util/getopt_helpers.c
Log:
fixes

Modified: gnunet/src/datastore/perf_datastore_api.c
===================================================================
--- gnunet/src/datastore/perf_datastore_api.c   2009-09-07 12:04:15 UTC (rev 
8957)
+++ gnunet/src/datastore/perf_datastore_api.c   2009-09-07 12:44:07 UTC (rev 
8958)
@@ -288,7 +288,6 @@
                                   TIMEOUT);
       break;
     case RP_REPORT:
-      size = 0;
       printf (
 #if REPORT_ID
                "\n"

Modified: gnunet/src/hello/test_hello.c
===================================================================
--- gnunet/src/hello/test_hello.c       2009-09-07 12:04:15 UTC (rev 8957)
+++ gnunet/src/hello/test_hello.c       2009-09-07 12:44:07 UTC (rev 8958)
@@ -98,12 +98,10 @@
   struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded publicKey;
   struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pk;
   struct GNUNET_TIME_Absolute startup_time;
-  int ok;
   unsigned int i;
 
   GNUNET_log_setup ("test-hello", "DEBUG", NULL);
   startup_time = GNUNET_TIME_absolute_get ();
-  ok = 0;
   memset (&publicKey, 42, sizeof (publicKey));
   fprintf (stderr, "Testing HELLO creation (without addresses)...\n");
   i = 0;

Modified: gnunet/src/util/getopt_helpers.c
===================================================================
--- gnunet/src/util/getopt_helpers.c    2009-09-07 12:04:15 UTC (rev 8957)
+++ gnunet/src/util/getopt_helpers.c    2009-09-07 12:44:07 UTC (rev 8958)
@@ -84,7 +84,7 @@
         }
       if (slen < BORDER)
         {
-          printf ("%*s", BORDER - slen, "");
+          printf ("%*s", (int) (BORDER - slen), "");
           slen = BORDER;
         }
       trans = gettext (opt[i].description);





reply via email to

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