gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r23855 - gnunet/src/fs


From: gnunet
Subject: [GNUnet-SVN] r23855 - gnunet/src/fs
Date: Mon, 17 Sep 2012 15:30:15 +0200

Author: grothoff
Date: 2012-09-17 15:30:14 +0200 (Mon, 17 Sep 2012)
New Revision: 23855

Modified:
   gnunet/src/fs/gnunet-publish.c
   gnunet/src/fs/perf_gnunet_service_fs_p2p.conf
Log:
-fix warning

Modified: gnunet/src/fs/gnunet-publish.c
===================================================================
--- gnunet/src/fs/gnunet-publish.c      2012-09-17 13:20:13 UTC (rev 23854)
+++ gnunet/src/fs/gnunet-publish.c      2012-09-17 13:30:14 UTC (rev 23855)
@@ -135,6 +135,7 @@
 progress_cb (void *cls, const struct GNUNET_FS_ProgressInfo *info)
 {
   const char *s;
+  char *suri;
 
   switch (info->status)
   {
@@ -164,10 +165,10 @@
   case GNUNET_FS_STATUS_PUBLISH_COMPLETED:
     FPRINTF (stdout, _("Publishing `%s' done.\n"),
              info->value.publish.filename);
-    s = GNUNET_FS_uri_to_string (info->value.publish.specifics.
+    suri = GNUNET_FS_uri_to_string (info->value.publish.specifics.
                                  completed.chk_uri);
-    FPRINTF (stdout, _("URI is `%s'.\n"), s);
-    GNUNET_free (s);
+    FPRINTF (stdout, _("URI is `%s'.\n"), suri);
+    GNUNET_free (suri);
     if (info->value.publish.pctx == NULL)
     {
       if (kill_task != GNUNET_SCHEDULER_NO_TASK)

Modified: gnunet/src/fs/perf_gnunet_service_fs_p2p.conf
===================================================================
--- gnunet/src/fs/perf_gnunet_service_fs_p2p.conf       2012-09-17 13:20:13 UTC 
(rev 23854)
+++ gnunet/src/fs/perf_gnunet_service_fs_p2p.conf       2012-09-17 13:30:14 UTC 
(rev 23855)
@@ -4,3 +4,5 @@
 
 [fs]
 GAUGER_HEAP = "2-peer 10 MB P2P download"
+
+




reply via email to

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