aboutsummaryrefslogtreecommitdiff
path: root/src/dv/plugin_transport_dv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dv/plugin_transport_dv.c')
-rw-r--r--src/dv/plugin_transport_dv.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/dv/plugin_transport_dv.c b/src/dv/plugin_transport_dv.c
index f31801813..6faeaaea2 100644
--- a/src/dv/plugin_transport_dv.c
+++ b/src/dv/plugin_transport_dv.c
@@ -254,11 +254,13 @@ dv_plugin_send (void *cls,
254 addr, 254 addr,
255 addrlen); 255 addrlen);
256 256
257 if (ret == 0) 257 if (cont != NULL)
258 cont(cont_cls, target, GNUNET_OK); 258 {
259 else 259 if (ret == 0)
260 cont(cont_cls, target, GNUNET_SYSERR); 260 cont(cont_cls, target, GNUNET_OK);
261 261 else
262 cont(cont_cls, target, GNUNET_SYSERR);
263 }
262 return ret; 264 return ret;
263} 265}
264 266