fix for api change in disk.c, thanks to patch from LRN
authorNathan S. Evans <evans@in.tum.de>
Wed, 15 Sep 2010 10:29:32 +0000 (10:29 +0000)
committerNathan S. Evans <evans@in.tum.de>
Wed, 15 Sep 2010 10:29:32 +0000 (10:29 +0000)
src/transport/plugin_transport_tcp.c
src/transport/plugin_transport_udp.c

index 208a113f4c78a781bfcd68ff4b63b17f5bf0332f..35103e58715b4df51ea6a596510e0bc64eeba3b6 100644 (file)
@@ -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;
 
index 02f81a57656b0c9755726716d08862d48ef96c88..cc3dfcdf4c3f11dbacfcdd6da4146d25915d1223 100644 (file)
@@ -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