diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-06-11 10:54:55 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-06-11 10:54:55 +0000 |
commit | 2a55ceac0f91e312d48141a9cc9fab1ecd9f6c48 (patch) | |
tree | a0ae0ae6acf761ee74201dcd9e48030c15ac5959 /src/transport/plugin_transport_udp.c | |
parent | 02797a87cc6629b6a2f9d828489b565d882bf818 (diff) | |
download | gnunet-2a55ceac0f91e312d48141a9cc9fab1ecd9f6c48.tar.gz gnunet-2a55ceac0f91e312d48141a9cc9fab1ecd9f6c48.zip |
bugs from codesonar
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r-- | src/transport/plugin_transport_udp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index ad8a70f0b..14b80d9e9 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c | |||
@@ -522,7 +522,8 @@ udp_real_send (void *cls, | |||
522 | GNUNET_log_from (GNUNET_ERROR_TYPE_INFO, "udp", _ | 522 | GNUNET_log_from (GNUNET_ERROR_TYPE_INFO, "udp", _ |
523 | ("udp_plugin_send called without address, returning!\n")); | 523 | ("udp_plugin_send called without address, returning!\n")); |
524 | #endif | 524 | #endif |
525 | cont (cont_cls, target, GNUNET_SYSERR); | 525 | if (cont != NULL) |
526 | cont (cont_cls, target, GNUNET_SYSERR); | ||
526 | return 0; /* Can never send if we don't have an address!! */ | 527 | return 0; /* Can never send if we don't have an address!! */ |
527 | } | 528 | } |
528 | 529 | ||