aboutsummaryrefslogtreecommitdiff
path: root/src/seti/seti_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-19 00:46:39 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-19 00:46:39 +0200
commit1eda2878cf1efef694c911c318427f14ecbdf8f3 (patch)
tree1052f9175563d001b966e430b62e7dd360b568eb /src/seti/seti_api.c
parent076acb9981bc141c7905e0dcf3f9fcda3497a8aa (diff)
downloadgnunet-1eda2878cf1efef694c911c318427f14ecbdf8f3.tar.gz
gnunet-1eda2878cf1efef694c911c318427f14ecbdf8f3.zip
-fix set/seti migration issues
Diffstat (limited to 'src/seti/seti_api.c')
-rw-r--r--src/seti/seti_api.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/seti/seti_api.c b/src/seti/seti_api.c
index d80a60684..337b7b219 100644
--- a/src/seti/seti_api.c
+++ b/src/seti/seti_api.c
@@ -411,7 +411,7 @@ GNUNET_SETI_create (const struct GNUNET_CONFIGURATION_Handle *cfg)
411 411
412 set->cfg = cfg; 412 set->cfg = cfg;
413 set->mq = GNUNET_CLIENT_connect (cfg, 413 set->mq = GNUNET_CLIENT_connect (cfg,
414 "set", 414 "seti",
415 mq_handlers, 415 mq_handlers,
416 &handle_client_set_error, 416 &handle_client_set_error,
417 set); 417 set);
@@ -549,7 +549,7 @@ GNUNET_SETI_prepare (const struct GNUNET_PeerIdentity *other_peer,
549 switch (opt->type) 549 switch (opt->type)
550 { 550 {
551 case GNUNET_SETI_OPTION_RETURN_INTERSECTION: 551 case GNUNET_SETI_OPTION_RETURN_INTERSECTION:
552 msg->return_intersection = GNUNET_YES; 552 msg->return_intersection = htonl (GNUNET_YES);
553 break; 553 break;
554 default: 554 default:
555 LOG (GNUNET_ERROR_TYPE_ERROR, 555 LOG (GNUNET_ERROR_TYPE_ERROR,
@@ -687,7 +687,7 @@ listen_connect (void *cls)
687 lh->reconnect_task = NULL; 687 lh->reconnect_task = NULL;
688 GNUNET_assert (NULL == lh->mq); 688 GNUNET_assert (NULL == lh->mq);
689 lh->mq = GNUNET_CLIENT_connect (lh->cfg, 689 lh->mq = GNUNET_CLIENT_connect (lh->cfg,
690 "set", 690 "seti",
691 mq_handlers, 691 mq_handlers,
692 &handle_client_listener_error, 692 &handle_client_listener_error,
693 lh); 693 lh);
@@ -806,7 +806,7 @@ GNUNET_SETI_accept (struct GNUNET_SETI_Request *request,
806 switch (opt->type) 806 switch (opt->type)
807 { 807 {
808 case GNUNET_SETI_OPTION_RETURN_INTERSECTION: 808 case GNUNET_SETI_OPTION_RETURN_INTERSECTION:
809 oh->return_intersection = GNUNET_YES; 809 oh->return_intersection = htonl (GNUNET_YES);
810 break; 810 break;
811 default: 811 default:
812 LOG (GNUNET_ERROR_TYPE_ERROR, 812 LOG (GNUNET_ERROR_TYPE_ERROR,