diff options
Diffstat (limited to 'src/identity-provider/identity_provider_api.c')
-rw-r--r-- | src/identity-provider/identity_provider_api.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/identity-provider/identity_provider_api.c b/src/identity-provider/identity_provider_api.c index 47217442a..6d30f9e2a 100644 --- a/src/identity-provider/identity_provider_api.c +++ b/src/identity-provider/identity_provider_api.c | |||
@@ -71,7 +71,7 @@ struct GNUNET_IDENTITY_PROVIDER_Operation | |||
71 | * Attribute result callback | 71 | * Attribute result callback |
72 | */ | 72 | */ |
73 | GNUNET_IDENTITY_PROVIDER_AttributeResult ar_cb; | 73 | GNUNET_IDENTITY_PROVIDER_AttributeResult ar_cb; |
74 | 74 | ||
75 | /** | 75 | /** |
76 | * Revocation result callback | 76 | * Revocation result callback |
77 | */ | 77 | */ |
@@ -613,7 +613,7 @@ handle_attribute_result (void *cls, | |||
613 | it->finish_cb (it->finish_cb_cls); | 613 | it->finish_cb (it->finish_cb_cls); |
614 | free_it (it); | 614 | free_it (it); |
615 | } | 615 | } |
616 | if (NULL != op) | 616 | if (NULL != op) |
617 | { | 617 | { |
618 | if (NULL != op->ar_cb) | 618 | if (NULL != op->ar_cb) |
619 | op->ar_cb (op->cls, | 619 | op->ar_cb (op->cls, |
@@ -953,7 +953,7 @@ GNUNET_IDENTITY_PROVIDER_attribute_store (struct GNUNET_IDENTITY_PROVIDER_Handle | |||
953 | 953 | ||
954 | 954 | ||
955 | /** | 955 | /** |
956 | * List all attributes for a local identity. | 956 | * List all attributes for a local identity. |
957 | * This MUST lock the `struct GNUNET_IDENTITY_PROVIDER_Handle` | 957 | * This MUST lock the `struct GNUNET_IDENTITY_PROVIDER_Handle` |
958 | * for any other calls than #GNUNET_IDENTITY_PROVIDER_get_attributes_next() and | 958 | * for any other calls than #GNUNET_IDENTITY_PROVIDER_get_attributes_next() and |
959 | * #GNUNET_IDENTITY_PROVIDER_get_attributes_stop. @a proc will be called once | 959 | * #GNUNET_IDENTITY_PROVIDER_get_attributes_stop. @a proc will be called once |
@@ -1370,9 +1370,9 @@ GNUNET_IDENTITY_PROVIDER_ticket_revoke (struct GNUNET_IDENTITY_PROVIDER_Handle * | |||
1370 | GNUNET_MESSAGE_TYPE_IDENTITY_PROVIDER_REVOKE_TICKET); | 1370 | GNUNET_MESSAGE_TYPE_IDENTITY_PROVIDER_REVOKE_TICKET); |
1371 | msg->id = htonl (rid); | 1371 | msg->id = htonl (rid); |
1372 | msg->identity = *identity; | 1372 | msg->identity = *identity; |
1373 | memcpy (&msg[1], | 1373 | GNUNET_memcpy (&msg[1], |
1374 | ticket, | 1374 | ticket, |
1375 | sizeof (struct GNUNET_IDENTITY_PROVIDER_Ticket)); | 1375 | sizeof (struct GNUNET_IDENTITY_PROVIDER_Ticket)); |
1376 | if (NULL == h->mq) | 1376 | if (NULL == h->mq) |
1377 | op->env = env; | 1377 | op->env = env; |
1378 | else | 1378 | else |