diff options
author | Bart Polot <bart@net.in.tum.de> | 2016-07-20 17:13:26 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2016-07-20 17:13:26 +0000 |
commit | 90c70e8315c4a366996da379f839dc84d21d5f38 (patch) | |
tree | 0bfd73d2da8b8efb8de888c09ea4dd5bfc4cdb0f /src/scalarproduct/gnunet-service-scalarproduct_alice.c | |
parent | 3aab63d5c50db0eb784d3b65b2bd989d3458c960 (diff) | |
download | gnunet-90c70e8315c4a366996da379f839dc84d21d5f38.tar.gz gnunet-90c70e8315c4a366996da379f839dc84d21d5f38.zip |
- fix CADET-using services
Diffstat (limited to 'src/scalarproduct/gnunet-service-scalarproduct_alice.c')
-rw-r--r-- | src/scalarproduct/gnunet-service-scalarproduct_alice.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/scalarproduct/gnunet-service-scalarproduct_alice.c b/src/scalarproduct/gnunet-service-scalarproduct_alice.c index 5478a85a7..8c3b1ed24 100644 --- a/src/scalarproduct/gnunet-service-scalarproduct_alice.c +++ b/src/scalarproduct/gnunet-service-scalarproduct_alice.c | |||
@@ -1081,7 +1081,7 @@ client_request_complete_alice (struct AliceServiceSession *s) | |||
1081 | = GNUNET_CADET_channel_create (my_cadet, | 1081 | = GNUNET_CADET_channel_create (my_cadet, |
1082 | s, | 1082 | s, |
1083 | &s->peer, | 1083 | &s->peer, |
1084 | GNUNET_APPLICATION_TYPE_SCALARPRODUCT, | 1084 | GC_u2h (GNUNET_APPLICATION_TYPE_SCALARPRODUCT), |
1085 | GNUNET_CADET_OPTION_RELIABLE); | 1085 | GNUNET_CADET_OPTION_RELIABLE); |
1086 | if (NULL == s->channel) | 1086 | if (NULL == s->channel) |
1087 | { | 1087 | { |
@@ -1409,10 +1409,8 @@ run (void *cls, | |||
1409 | &handle_client_disconnect, | 1409 | &handle_client_disconnect, |
1410 | NULL); | 1410 | NULL); |
1411 | my_cadet = GNUNET_CADET_connect (cfg, NULL, | 1411 | my_cadet = GNUNET_CADET_connect (cfg, NULL, |
1412 | NULL /* no incoming supported */, | ||
1413 | &cb_channel_destruction, | 1412 | &cb_channel_destruction, |
1414 | cadet_handlers, | 1413 | cadet_handlers); |
1415 | NULL); | ||
1416 | if (NULL == my_cadet) | 1414 | if (NULL == my_cadet) |
1417 | { | 1415 | { |
1418 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 1416 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |