gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r16125 - gnunet/src/testing


From: gnunet
Subject: [GNUnet-SVN] r16125 - gnunet/src/testing
Date: Tue, 19 Jul 2011 15:02:42 +0200

Author: nevans
Date: 2011-07-19 15:02:42 +0200 (Tue, 19 Jul 2011)
New Revision: 16125

Modified:
   gnunet/src/testing/testing_peergroup.c
Log:
changes

Modified: gnunet/src/testing/testing_peergroup.c
===================================================================
--- gnunet/src/testing/testing_peergroup.c      2011-07-19 13:01:38 UTC (rev 
16124)
+++ gnunet/src/testing/testing_peergroup.c      2011-07-19 13:02:42 UTC (rev 
16125)
@@ -645,7 +645,7 @@
  */
 void
 GNUNET_TESTING_peergroup_topology_to_file(struct GNUNET_TESTING_PeerGroup *pg,
-                                          char *output_filename,
+                                          const char *output_filename,
                                           GNUNET_TESTING_NotifyCompletion 
notify_cb,
                                           void *notify_cb_cls)
 {
@@ -654,7 +654,7 @@
   char *temp_str;
   topo_ctx = GNUNET_malloc(sizeof(struct TopologyOutputContext));
 
-  topo_ctx->file = GNUNET_DISK_file_open (temp_str, GNUNET_DISK_OPEN_READWRITE
+  topo_ctx->file = GNUNET_DISK_file_open (output_filename, 
GNUNET_DISK_OPEN_READWRITE
                                                               | 
GNUNET_DISK_OPEN_CREATE,
                                                               
GNUNET_DISK_PERM_USER_READ |
                                                               
GNUNET_DISK_PERM_USER_WRITE);




reply via email to

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