aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2011-07-19 13:02:42 +0000
committerNathan S. Evans <evans@in.tum.de>2011-07-19 13:02:42 +0000
commitc14ad3131ef0a3e690b44e5f4cd6f190027e3462 (patch)
tree074987aafe860abfbec9506b12a40234890ef2ee /src
parent76ec87b72c383c5366a3479a96ad0a7fe74ec938 (diff)
downloadgnunet-c14ad3131ef0a3e690b44e5f4cd6f190027e3462.tar.gz
gnunet-c14ad3131ef0a3e690b44e5f4cd6f190027e3462.zip
changes
Diffstat (limited to 'src')
-rw-r--r--src/testing/testing_peergroup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testing/testing_peergroup.c b/src/testing/testing_peergroup.c
index e6bb3d63b..f9eb6bfcd 100644
--- a/src/testing/testing_peergroup.c
+++ b/src/testing/testing_peergroup.c
@@ -645,7 +645,7 @@ write_topology_cb (void *cls,
645 */ 645 */
646void 646void
647GNUNET_TESTING_peergroup_topology_to_file(struct GNUNET_TESTING_PeerGroup *pg, 647GNUNET_TESTING_peergroup_topology_to_file(struct GNUNET_TESTING_PeerGroup *pg,
648 char *output_filename, 648 const char *output_filename,
649 GNUNET_TESTING_NotifyCompletion notify_cb, 649 GNUNET_TESTING_NotifyCompletion notify_cb,
650 void *notify_cb_cls) 650 void *notify_cb_cls)
651{ 651{
@@ -654,7 +654,7 @@ GNUNET_TESTING_peergroup_topology_to_file(struct GNUNET_TESTING_PeerGroup *pg,
654 char *temp_str; 654 char *temp_str;
655 topo_ctx = GNUNET_malloc(sizeof(struct TopologyOutputContext)); 655 topo_ctx = GNUNET_malloc(sizeof(struct TopologyOutputContext));
656 656
657 topo_ctx->file = GNUNET_DISK_file_open (temp_str, GNUNET_DISK_OPEN_READWRITE 657 topo_ctx->file = GNUNET_DISK_file_open (output_filename, GNUNET_DISK_OPEN_READWRITE
658 | GNUNET_DISK_OPEN_CREATE, 658 | GNUNET_DISK_OPEN_CREATE,
659 GNUNET_DISK_PERM_USER_READ | 659 GNUNET_DISK_PERM_USER_READ |
660 GNUNET_DISK_PERM_USER_WRITE); 660 GNUNET_DISK_PERM_USER_WRITE);