diff options
Diffstat (limited to 'src/dv/plugin_transport_dv.c')
-rw-r--r-- | src/dv/plugin_transport_dv.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/dv/plugin_transport_dv.c b/src/dv/plugin_transport_dv.c index aa94bed31..7293d9fb8 100644 --- a/src/dv/plugin_transport_dv.c +++ b/src/dv/plugin_transport_dv.c | |||
@@ -519,11 +519,9 @@ handle_dv_disconnect (void *cls, | |||
519 | * Clean up the pending request, and call continuations. | 519 | * Clean up the pending request, and call continuations. |
520 | * | 520 | * |
521 | * @param cls closure | 521 | * @param cls closure |
522 | * @param ok #GNUNET_OK on success, #GNUNET_SYSERR on error | ||
523 | */ | 522 | */ |
524 | static void | 523 | static void |
525 | send_finished (void *cls, | 524 | send_finished (void *cls) |
526 | int ok) | ||
527 | { | 525 | { |
528 | struct PendingRequest *pr = cls; | 526 | struct PendingRequest *pr = cls; |
529 | struct GNUNET_ATS_Session *session = pr->session; | 527 | struct GNUNET_ATS_Session *session = pr->session; |
@@ -535,7 +533,7 @@ send_finished (void *cls, | |||
535 | if (NULL != pr->transmit_cont) | 533 | if (NULL != pr->transmit_cont) |
536 | pr->transmit_cont (pr->transmit_cont_cls, | 534 | pr->transmit_cont (pr->transmit_cont_cls, |
537 | &session->sender, | 535 | &session->sender, |
538 | ok, | 536 | GNUNET_OK, |
539 | pr->size, 0); | 537 | pr->size, 0); |
540 | GNUNET_free (pr); | 538 | GNUNET_free (pr); |
541 | } | 539 | } |