aboutsummaryrefslogtreecommitdiff
path: root/src/conversation
diff options
context:
space:
mode:
Diffstat (limited to 'src/conversation')
-rw-r--r--src/conversation/gnunet-conversation.c4
-rw-r--r--src/conversation/test_conversation_api.c6
-rw-r--r--src/conversation/test_conversation_api_reject.c6
-rw-r--r--src/conversation/test_conversation_api_twocalls.c6
4 files changed, 14 insertions, 8 deletions
diff --git a/src/conversation/gnunet-conversation.c b/src/conversation/gnunet-conversation.c
index b908cd82c..7a2a727a5 100644
--- a/src/conversation/gnunet-conversation.c
+++ b/src/conversation/gnunet-conversation.c
@@ -359,7 +359,7 @@ start_phone ()
359 else 359 else
360 { 360 {
361 GNUNET_CONVERSATION_phone_get_record (phone, &rd); 361 GNUNET_CONVERSATION_phone_get_record (phone, &rd);
362 GNUNET_free_non_null (address); 362 GNUNET_free (address);
363 address = 363 address =
364 GNUNET_GNSRECORD_value_to_string (rd.record_type, rd.data, rd.data_size); 364 GNUNET_GNSRECORD_value_to_string (rd.record_type, rd.data, rd.data_size);
365 fprintf ( 365 fprintf (
@@ -1035,7 +1035,7 @@ do_stop_task (void *cls)
1035 mic = NULL; 1035 mic = NULL;
1036 GNUNET_free (ego_name); 1036 GNUNET_free (ego_name);
1037 ego_name = NULL; 1037 ego_name = NULL;
1038 GNUNET_free_non_null (peer_name); 1038 GNUNET_free (peer_name);
1039 peer_name = NULL; 1039 peer_name = NULL;
1040 phone_state = PS_ERROR; 1040 phone_state = PS_ERROR;
1041} 1041}
diff --git a/src/conversation/test_conversation_api.c b/src/conversation/test_conversation_api.c
index dbb742d91..b51186dc8 100644
--- a/src/conversation/test_conversation_api.c
+++ b/src/conversation/test_conversation_api.c
@@ -402,7 +402,8 @@ namestore_put_cont (void *cls, int32_t success, const char *emsg)
402 GNUNET_assert (GNUNET_YES == success); 402 GNUNET_assert (GNUNET_YES == success);
403 GNUNET_assert (NULL == emsg); 403 GNUNET_assert (NULL == emsg);
404 GNUNET_assert (NULL == op); 404 GNUNET_assert (NULL == op);
405 op = GNUNET_IDENTITY_create (id, "caller-ego", NULL, &caller_ego_create_cont, NULL); 405 op = GNUNET_IDENTITY_create (id, "caller-ego", NULL, &caller_ego_create_cont,
406 NULL);
406} 407}
407 408
408 409
@@ -483,7 +484,8 @@ run (void *cls,
483 cfg = c; 484 cfg = c;
484 GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_test, NULL); 485 GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_test, NULL);
485 id = GNUNET_IDENTITY_connect (cfg, &identity_cb, NULL); 486 id = GNUNET_IDENTITY_connect (cfg, &identity_cb, NULL);
486 op = GNUNET_IDENTITY_create (id, "phone-ego", NULL, &phone_ego_create_cont, NULL); 487 op = GNUNET_IDENTITY_create (id, "phone-ego", NULL, &phone_ego_create_cont,
488 NULL);
487 ns = GNUNET_NAMESTORE_connect (cfg); 489 ns = GNUNET_NAMESTORE_connect (cfg);
488} 490}
489 491
diff --git a/src/conversation/test_conversation_api_reject.c b/src/conversation/test_conversation_api_reject.c
index 855b21fd7..69fa9f1dc 100644
--- a/src/conversation/test_conversation_api_reject.c
+++ b/src/conversation/test_conversation_api_reject.c
@@ -255,7 +255,8 @@ namestore_put_cont (void *cls, int32_t success, const char *emsg)
255 GNUNET_assert (GNUNET_YES == success); 255 GNUNET_assert (GNUNET_YES == success);
256 GNUNET_assert (NULL == emsg); 256 GNUNET_assert (NULL == emsg);
257 GNUNET_assert (NULL == op); 257 GNUNET_assert (NULL == op);
258 op = GNUNET_IDENTITY_create (id, "caller-ego", NULL, &caller_ego_create_cont, NULL); 258 op = GNUNET_IDENTITY_create (id, "caller-ego", NULL, &caller_ego_create_cont,
259 NULL);
259} 260}
260 261
261 262
@@ -336,7 +337,8 @@ run (void *cls,
336 cfg = c; 337 cfg = c;
337 GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_test, NULL); 338 GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_test, NULL);
338 id = GNUNET_IDENTITY_connect (cfg, &identity_cb, NULL); 339 id = GNUNET_IDENTITY_connect (cfg, &identity_cb, NULL);
339 op = GNUNET_IDENTITY_create (id, "phone-ego", NULL, &phone_ego_create_cont, NULL); 340 op = GNUNET_IDENTITY_create (id, "phone-ego", NULL, &phone_ego_create_cont,
341 NULL);
340 ns = GNUNET_NAMESTORE_connect (cfg); 342 ns = GNUNET_NAMESTORE_connect (cfg);
341} 343}
342 344
diff --git a/src/conversation/test_conversation_api_twocalls.c b/src/conversation/test_conversation_api_twocalls.c
index 6d434a3e1..83e8cb55a 100644
--- a/src/conversation/test_conversation_api_twocalls.c
+++ b/src/conversation/test_conversation_api_twocalls.c
@@ -524,7 +524,8 @@ namestore_put_cont (void *cls, int32_t success, const char *emsg)
524 GNUNET_assert (GNUNET_YES == success); 524 GNUNET_assert (GNUNET_YES == success);
525 GNUNET_assert (NULL == emsg); 525 GNUNET_assert (NULL == emsg);
526 GNUNET_assert (NULL == op); 526 GNUNET_assert (NULL == op);
527 op = GNUNET_IDENTITY_create (id, "caller-ego", NULL, &caller_ego_create_cont, NULL); 527 op = GNUNET_IDENTITY_create (id, "caller-ego", NULL, &caller_ego_create_cont,
528 NULL);
528} 529}
529 530
530 531
@@ -613,7 +614,8 @@ run (void *cls,
613 timeout_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_test, NULL); 614 timeout_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_test, NULL);
614 GNUNET_SCHEDULER_add_shutdown (&do_shutdown, NULL); 615 GNUNET_SCHEDULER_add_shutdown (&do_shutdown, NULL);
615 id = GNUNET_IDENTITY_connect (cfg, &identity_cb, NULL); 616 id = GNUNET_IDENTITY_connect (cfg, &identity_cb, NULL);
616 op = GNUNET_IDENTITY_create (id, "phone-ego", NULL, &phone_ego_create_cont, NULL); 617 op = GNUNET_IDENTITY_create (id, "phone-ego", NULL, &phone_ego_create_cont,
618 NULL);
617 ns = GNUNET_NAMESTORE_connect (cfg); 619 ns = GNUNET_NAMESTORE_connect (cfg);
618} 620}
619 621