diff options
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, |