From d341c13bf19c549c8874f598c1b1f7c7ce7819f1 Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Wed, 15 Sep 2010 10:29:32 +0000 Subject: fix for api change in disk.c, thanks to patch from LRN --- src/transport/plugin_transport_tcp.c | 2 +- src/transport/plugin_transport_udp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index 208a113f4..35103e587 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c @@ -2192,7 +2192,7 @@ static int tcp_transport_start_nat_server(struct Plugin *plugin) { - plugin->server_stdout = GNUNET_DISK_pipe(GNUNET_YES); + plugin->server_stdout = GNUNET_DISK_pipe(GNUNET_YES, GNUNET_YES, GNUNET_YES); if (plugin->server_stdout == NULL) return GNUNET_SYSERR; diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index 02f81a576..cc3dfcdf4 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c @@ -1627,7 +1627,7 @@ udp_transport_server_start (void *cls) if (plugin->behind_nat == GNUNET_YES) { /* Pipe to read from started processes stdout (on read end) */ - plugin->server_stdout = GNUNET_DISK_pipe(GNUNET_YES); + plugin->server_stdout = GNUNET_DISK_pipe(GNUNET_YES, GNUNET_YES, GNUNET_YES); if (plugin->server_stdout == NULL) return sockets_created; #if DEBUG_UDP -- cgit v1.2.3