aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r--src/transport/plugin_transport_udp.c3
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