diff options
Diffstat (limited to 'src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c')
-rw-r--r-- | src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c b/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c index c9f4811e2..43a25a08d 100644 --- a/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c +++ b/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c | |||
@@ -858,7 +858,7 @@ client_request_complete_alice (struct AliceServiceSession *s) | |||
858 | = GNUNET_CADET_channel_create (my_cadet, | 858 | = GNUNET_CADET_channel_create (my_cadet, |
859 | s, | 859 | s, |
860 | &s->peer, | 860 | &s->peer, |
861 | GNUNET_APPLICATION_TYPE_SCALARPRODUCT_ECC, | 861 | GC_u2h (GNUNET_APPLICATION_TYPE_SCALARPRODUCT_ECC), |
862 | GNUNET_CADET_OPTION_RELIABLE); | 862 | GNUNET_CADET_OPTION_RELIABLE); |
863 | if (NULL == s->channel) | 863 | if (NULL == s->channel) |
864 | { | 864 | { |
@@ -1184,10 +1184,8 @@ run (void *cls, | |||
1184 | &handle_client_disconnect, | 1184 | &handle_client_disconnect, |
1185 | NULL); | 1185 | NULL); |
1186 | my_cadet = GNUNET_CADET_connect (cfg, NULL, | 1186 | my_cadet = GNUNET_CADET_connect (cfg, NULL, |
1187 | NULL /* no incoming supported */, | ||
1188 | &cb_channel_destruction, | 1187 | &cb_channel_destruction, |
1189 | cadet_handlers, | 1188 | cadet_handlers); |
1190 | NULL); | ||
1191 | if (NULL == my_cadet) | 1189 | if (NULL == my_cadet) |
1192 | { | 1190 | { |
1193 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 1191 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |