gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r9377 - in GNUnet/src: applications/stats applications/test


From: gnunet
Subject: [GNUnet-SVN] r9377 - in GNUnet/src: applications/stats applications/testing setup
Date: Sun, 1 Nov 2009 13:02:34 -0700

Author: grothoff
Date: 2009-11-01 13:02:34 -0700 (Sun, 01 Nov 2009)
New Revision: 9377

Modified:
   GNUnet/src/applications/stats/sqstats.c
   GNUnet/src/applications/testing/remote.c
   GNUnet/src/setup/gnunet-win-tool.c
Log:
fixes

Modified: GNUnet/src/applications/stats/sqstats.c
===================================================================
--- GNUnet/src/applications/stats/sqstats.c     2009-10-31 23:21:25 UTC (rev 
9376)
+++ GNUnet/src/applications/stats/sqstats.c     2009-11-01 20:02:34 UTC (rev 
9377)
@@ -164,7 +164,7 @@
   stat_prio[0] = stats->create (gettext_noop ("# zero priority"));
   stat_prio[1] = stats->create (gettext_noop ("# priority one"));
   stat_prio[2] = stats->create (gettext_noop ("# priority larger than one"));
-  stat_anon[3] = stats->create (gettext_noop ("# no anonymity"));
+  stat_anon[0] = stats->create (gettext_noop ("# no anonymity"));
   stat_anon[1] = stats->create (gettext_noop ("# anonymity one"));
   stat_anon[2] = stats->create (gettext_noop ("# anonymity larger than one"));
   return GNUNET_OK;

Modified: GNUnet/src/applications/testing/remote.c
===================================================================
--- GNUnet/src/applications/testing/remote.c    2009-10-31 23:21:25 UTC (rev 
9376)
+++ GNUnet/src/applications/testing/remote.c    2009-11-01 20:02:34 UTC (rev 
9377)
@@ -295,7 +295,7 @@
         }
     }
   if (output != NULL)
-    fclose (output);
+    pclose (output);
   if (tempcmd != NULL)
     GNUNET_free (tempcmd);
   return pid;

Modified: GNUnet/src/setup/gnunet-win-tool.c
===================================================================
--- GNUnet/src/setup/gnunet-win-tool.c  2009-10-31 23:21:25 UTC (rev 9376)
+++ GNUnet/src/setup/gnunet-win-tool.c  2009-11-01 20:02:34 UTC (rev 9377)
@@ -191,6 +191,7 @@
   if (fseek (pFile, 0, SEEK_END))
     {
       printf ("failed.\n Cannot seek.\n");
+      fclose (pFile);
       return;
     }
 





reply via email to

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