From: Nathan S. Evans Date: Wed, 15 Sep 2010 10:29:32 +0000 (+0000) Subject: fix for api change in disk.c, thanks to patch from LRN X-Git-Tag: initial-import-from-subversion-38251~20327 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d341c13bf19c549c8874f598c1b1f7c7ce7819f1;p=oweals%2Fgnunet.git fix for api change in disk.c, thanks to patch from LRN --- 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