diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-18 00:44:39 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-18 00:44:39 +0200 |
commit | 7f4ddbcab8598e3d5e29c23ce883cdfa664408f1 (patch) | |
tree | 5f1b18463f641f24fad519e0aefb60b97d707b52 /src/conversation | |
parent | 28ab2c446fba4980a8295d59fdf203a028a35dd6 (diff) | |
download | gnunet-7f4ddbcab8598e3d5e29c23ce883cdfa664408f1.tar.gz gnunet-7f4ddbcab8598e3d5e29c23ce883cdfa664408f1.zip |
merge flags into enum for GNUNET_DISK_pipe() API, fixing #6188
Diffstat (limited to 'src/conversation')
-rw-r--r-- | src/conversation/test_conversation_api.c | 6 | ||||
-rw-r--r-- | src/conversation/test_conversation_api_reject.c | 6 | ||||
-rw-r--r-- | src/conversation/test_conversation_api_twocalls.c | 6 |
3 files changed, 12 insertions, 6 deletions
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 | ||