aboutsummaryrefslogtreecommitdiff
path: root/src/experimentation
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-01-30 18:24:13 +0000
committerChristian Grothoff <christian@grothoff.org>2014-01-30 18:24:13 +0000
commit6fd0a7efde08115b568b99b7755861a50f1b6c2e (patch)
treed8d712f0a5cafe18ddf8ff33296ff24b30beae7f /src/experimentation
parent6a4c5ee6195fb7a6fcf90b1bae5ca36926e82023 (diff)
downloadgnunet-6fd0a7efde08115b568b99b7755861a50f1b6c2e.tar.gz
gnunet-6fd0a7efde08115b568b99b7755861a50f1b6c2e.zip
towards reviving priorities in core API, this time with enum to make classes clearer
Diffstat (limited to 'src/experimentation')
-rw-r--r--src/experimentation/gnunet-daemon-experimentation_nodes.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/experimentation/gnunet-daemon-experimentation_nodes.c b/src/experimentation/gnunet-daemon-experimentation_nodes.c
index 65b2d9c38..1c4152793 100644
--- a/src/experimentation/gnunet-daemon-experimentation_nodes.c
+++ b/src/experimentation/gnunet-daemon-experimentation_nodes.c
@@ -210,7 +210,9 @@ schedule_transmisson (struct NodeComCtx *e_ctx)
210 if (NULL != e_ctx->n->cth) 210 if (NULL != e_ctx->n->cth)
211 return; 211 return;
212 212
213 e_ctx->n->cth = GNUNET_CORE_notify_transmit_ready (ch, GNUNET_NO, 0, FAST_TIMEOUT, 213 e_ctx->n->cth = GNUNET_CORE_notify_transmit_ready (ch, GNUNET_NO,
214 GNUNET_CORE_PRIO_BEST_EFFORT,
215 FAST_TIMEOUT,
214 &e_ctx->n->id, e_ctx->size, 216 &e_ctx->n->id, e_ctx->size,
215 transmit_read_wrapper, e_ctx); 217 transmit_read_wrapper, e_ctx);
216 if (NULL == e_ctx->n->cth) 218 if (NULL == e_ctx->n->cth)
@@ -281,7 +283,7 @@ send_experimentation_request_cb (void *cls, size_t bufsize, void *buf)
281 size_t ri_size = sizeof (struct GNUNET_CRYPTO_EddsaPublicKey) * my_issuer_count; 283 size_t ri_size = sizeof (struct GNUNET_CRYPTO_EddsaPublicKey) * my_issuer_count;
282 size_t total_size = msg_size + ri_size; 284 size_t total_size = msg_size + ri_size;
283 struct GNUNET_CRYPTO_EddsaPublicKey *issuers; 285 struct GNUNET_CRYPTO_EddsaPublicKey *issuers;
284 286
285 n->cth = NULL; 287 n->cth = NULL;
286 if (NULL == buf) 288 if (NULL == buf)
287 { 289 {