fix
authorChristian Grothoff <christian@grothoff.org>
Tue, 21 Dec 2010 13:56:13 +0000 (13:56 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 21 Dec 2010 13:56:13 +0000 (13:56 +0000)
src/transport/plugin_transport_tcp.c

index 483619b4a8db881f579e96e70673eeeb7435733a..9a6eab01293baa4d8222e6b01f426c87db8aae1a 100644 (file)
@@ -1195,6 +1195,8 @@ run_gnunet_nat_client (struct Plugin *plugin,
                                  inet4,
                                  port_as_string, 
                                  NULL);
+  if (NULL == proc)
+    return;
   /* we know that the gnunet-nat-client will terminate virtually
      instantly */
   GNUNET_OS_process_wait (proc);