From: Nathan S. Evans Date: Tue, 19 Jul 2011 13:02:42 +0000 (+0000) Subject: changes X-Git-Tag: initial-import-from-subversion-38251~17714 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c14ad3131ef0a3e690b44e5f4cd6f190027e3462;p=oweals%2Fgnunet.git changes --- 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, */ 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 @@ GNUNET_TESTING_peergroup_topology_to_file(struct GNUNET_TESTING_PeerGroup *pg, 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);