aboutsummaryrefslogtreecommitdiff
path: root/src/pt/gnunet-daemon-pt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pt/gnunet-daemon-pt.c')
-rw-r--r--src/pt/gnunet-daemon-pt.c6
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,