aboutsummaryrefslogtreecommitdiff
path: root/src/dv/plugin_transport_dv.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-07-05 12:41:49 +0000
committerChristian Grothoff <christian@grothoff.org>2016-07-05 12:41:49 +0000
commit1f3219c222bb206e02a793e6c7d48ccc3045d604 (patch)
tree4ca96c6f9818c75651be78feff42ac7023cedd82 /src/dv/plugin_transport_dv.c
parent3f1bdbec8a40c36da13fd2488e67b8daba49025c (diff)
downloadgnunet-1f3219c222bb206e02a793e6c7d48ccc3045d604.tar.gz
gnunet-1f3219c222bb206e02a793e6c7d48ccc3045d604.zip
indentation, moving API towards MQ-style
Diffstat (limited to 'src/dv/plugin_transport_dv.c')
-rw-r--r--src/dv/plugin_transport_dv.c6
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 */
524static void 523static void
525send_finished (void *cls, 524send_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}