[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r13638 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r13638 - gnunet/src/transport |
Date: |
Wed, 10 Nov 2010 13:37:44 +0100 |
Author: nevans
Date: 2010-11-10 13:37:44 +0100 (Wed, 10 Nov 2010)
New Revision: 13638
Modified:
gnunet/src/transport/plugin_transport_udp.c
Log:
codesonar fix
Modified: gnunet/src/transport/plugin_transport_udp.c
===================================================================
--- gnunet/src/transport/plugin_transport_udp.c 2010-11-10 12:36:43 UTC (rev
13637)
+++ gnunet/src/transport/plugin_transport_udp.c 2010-11-10 12:37:44 UTC (rev
13638)
@@ -723,12 +723,15 @@
#endif
/* Start the server process */
- proc = GNUNET_OS_start_process(NULL, NULL, "gnunet-nat-client",
"gnunet-nat-client", plugin->external_address, address_as_string,
port_as_string, NULL);
+ proc = GNUNET_OS_start_process (NULL, NULL, "gnunet-nat-client",
"gnunet-nat-client", plugin->external_address, address_as_string,
port_as_string, NULL);
GNUNET_free(address_as_string);
GNUNET_free(port_as_string);
- GNUNET_OS_process_wait (proc);
- GNUNET_OS_process_close (proc);
- proc = NULL;
+ if (proc != NULL)
+ {
+ GNUNET_OS_process_wait (proc);
+ GNUNET_OS_process_close (proc);
+ proc = NULL;
+ }
}
/**
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r13638 - gnunet/src/transport,
gnunet <=