From 670ebb20b9570120df1021e467b575a212743125 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 3 Apr 2019 21:25:59 +0200 Subject: allow applications expressing connection preferences directly to TNG, collect HELLOs from PEERSTORE for expressed prefs --- src/ats/gnunet-service-ats-new.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/ats/gnunet-service-ats-new.c') diff --git a/src/ats/gnunet-service-ats-new.c b/src/ats/gnunet-service-ats-new.c index a1666d8d3..f2bc1de7f 100644 --- a/src/ats/gnunet-service-ats-new.c +++ b/src/ats/gnunet-service-ats-new.c @@ -304,7 +304,7 @@ prop_ntoh (const struct PropertiesNBO *properties, */ static void handle_suggest (void *cls, - const struct ExpressPreferenceMessage *msg) + const struct ExpressPreferenceMessage *msg) { struct Client *c = cls; struct ClientPreference *cp; @@ -344,7 +344,7 @@ handle_suggest (void *cls, */ static void handle_suggest_cancel (void *cls, - const struct ExpressPreferenceMessage *msg) + const struct ExpressPreferenceMessage *msg) { struct Client *c = cls; struct ClientPreference *cp; @@ -772,13 +772,13 @@ GNUNET_SERVICE_MAIN &client_disconnect_cb, NULL, GNUNET_MQ_hd_fixed_size (suggest, - GNUNET_MESSAGE_TYPE_ATS_SUGGEST, - struct ExpressPreferenceMessage, - NULL), + GNUNET_MESSAGE_TYPE_ATS_SUGGEST, + struct ExpressPreferenceMessage, + NULL), GNUNET_MQ_hd_fixed_size (suggest_cancel, - GNUNET_MESSAGE_TYPE_ATS_SUGGEST_CANCEL, - struct ExpressPreferenceMessage, - NULL), + GNUNET_MESSAGE_TYPE_ATS_SUGGEST_CANCEL, + struct ExpressPreferenceMessage, + NULL), GNUNET_MQ_hd_fixed_size (start, GNUNET_MESSAGE_TYPE_ATS_START, struct GNUNET_MessageHeader, -- cgit v1.2.3