aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-09-15 10:29:32 +0000
committerNathan S. Evans <evans@in.tum.de>2010-09-15 10:29:32 +0000
commitd341c13bf19c549c8874f598c1b1f7c7ce7819f1 (patch)
tree5eb309c0c07a47b33ca5438e3952d49474e31cf2 /src
parent031d3f2f3ad059ab17db30d49592394852c0bb2f (diff)
downloadgnunet-d341c13bf19c549c8874f598c1b1f7c7ce7819f1.tar.gz
gnunet-d341c13bf19c549c8874f598c1b1f7c7ce7819f1.zip
fix for api change in disk.c, thanks to patch from LRN
Diffstat (limited to 'src')
-rw-r--r--src/transport/plugin_transport_tcp.c2
-rw-r--r--src/transport/plugin_transport_udp.c2
2 files changed, 2 insertions, 2 deletions
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
2192tcp_transport_start_nat_server(struct Plugin *plugin) 2192tcp_transport_start_nat_server(struct Plugin *plugin)
2193{ 2193{
2194 2194
2195 plugin->server_stdout = GNUNET_DISK_pipe(GNUNET_YES); 2195 plugin->server_stdout = GNUNET_DISK_pipe(GNUNET_YES, GNUNET_YES, GNUNET_YES);
2196 if (plugin->server_stdout == NULL) 2196 if (plugin->server_stdout == NULL)
2197 return GNUNET_SYSERR; 2197 return GNUNET_SYSERR;
2198 2198
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)
1627 if (plugin->behind_nat == GNUNET_YES) 1627 if (plugin->behind_nat == GNUNET_YES)
1628 { 1628 {
1629 /* Pipe to read from started processes stdout (on read end) */ 1629 /* Pipe to read from started processes stdout (on read end) */
1630 plugin->server_stdout = GNUNET_DISK_pipe(GNUNET_YES); 1630 plugin->server_stdout = GNUNET_DISK_pipe(GNUNET_YES, GNUNET_YES, GNUNET_YES);
1631 if (plugin->server_stdout == NULL) 1631 if (plugin->server_stdout == NULL)
1632 return sockets_created; 1632 return sockets_created;
1633#if DEBUG_UDP 1633#if DEBUG_UDP