diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-12-21 13:56:13 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-12-21 13:56:13 +0000 |
commit | 59d630c03b73691d14e7a5e1876671c60b733285 (patch) | |
tree | 8afac4491a61bb3face06b833584b27bc3ba6710 /src/transport/plugin_transport_tcp.c | |
parent | 7b44961517bbacf6920a7482ff33afc0ff3d9e78 (diff) | |
download | gnunet-59d630c03b73691d14e7a5e1876671c60b733285.tar.gz gnunet-59d630c03b73691d14e7a5e1876671c60b733285.zip |
fix
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index 483619b4a..9a6eab012 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c | |||
@@ -1195,6 +1195,8 @@ run_gnunet_nat_client (struct Plugin *plugin, | |||
1195 | inet4, | 1195 | inet4, |
1196 | port_as_string, | 1196 | port_as_string, |
1197 | NULL); | 1197 | NULL); |
1198 | if (NULL == proc) | ||
1199 | return; | ||
1198 | /* we know that the gnunet-nat-client will terminate virtually | 1200 | /* we know that the gnunet-nat-client will terminate virtually |
1199 | instantly */ | 1201 | instantly */ |
1200 | GNUNET_OS_process_wait (proc); | 1202 | GNUNET_OS_process_wait (proc); |