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/pt | |
parent | 3aab63d5c50db0eb784d3b65b2bd989d3458c960 (diff) | |
download | gnunet-90c70e8315c4a366996da379f839dc84d21d5f38.tar.gz gnunet-90c70e8315c4a366996da379f839dc84d21d5f38.zip |
- fix CADET-using services
Diffstat (limited to 'src/pt')
-rw-r--r-- | src/pt/gnunet-daemon-pt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pt/gnunet-daemon-pt.c b/src/pt/gnunet-daemon-pt.c index 5d83fd883..7f4852e4b 100644 --- a/src/pt/gnunet-daemon-pt.c +++ b/src/pt/gnunet-daemon-pt.c | |||
@@ -351,7 +351,7 @@ try_open_exit () | |||
351 | pos->cadet_channel = GNUNET_CADET_channel_create (cadet_handle, | 351 | pos->cadet_channel = GNUNET_CADET_channel_create (cadet_handle, |
352 | pos, | 352 | pos, |
353 | &pos->peer, | 353 | &pos->peer, |
354 | GNUNET_APPLICATION_TYPE_INTERNET_RESOLVER, | 354 | GC_u2h (GNUNET_APPLICATION_TYPE_INTERNET_RESOLVER), |
355 | GNUNET_CADET_OPTION_DEFAULT); | 355 | GNUNET_CADET_OPTION_DEFAULT); |
356 | if (NULL == pos->cadet_channel) | 356 | if (NULL == pos->cadet_channel) |
357 | { | 357 | { |
@@ -1288,9 +1288,9 @@ run (void *cls, char *const *args GNUNET_UNUSED, | |||
1288 | GNUNET_SCHEDULER_shutdown (); | 1288 | GNUNET_SCHEDULER_shutdown (); |
1289 | return; | 1289 | return; |
1290 | } | 1290 | } |
1291 | cadet_handle = GNUNET_CADET_connect (cfg, NULL, NULL, | 1291 | cadet_handle = GNUNET_CADET_connect (cfg, NULL, |
1292 | &cadet_channel_end_cb, | 1292 | &cadet_channel_end_cb, |
1293 | cadet_handlers, NULL); | 1293 | cadet_handlers); |
1294 | if (NULL == cadet_handle) | 1294 | if (NULL == cadet_handle) |
1295 | { | 1295 | { |
1296 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 1296 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |