diff options
author | Markus Voggenreiter <Markus.Voggenreiter@tum.de> | 2019-10-09 21:39:35 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2020-01-13 13:31:01 +0100 |
commit | f3c86065146ad989b6fdf2532147ebfc1a833935 (patch) | |
tree | b7030427cf75d1a8f9b6f58cd0464e7e4ad14a4a | |
parent | e6eb523e12729ef1d6a6ee3f140671e5e51d8d1c (diff) | |
download | gnunet-f3c86065146ad989b6fdf2532147ebfc1a833935.tar.gz gnunet-f3c86065146ad989b6fdf2532147ebfc1a833935.zip |
Initial Fixes of plugin
-rw-r--r-- | src/reclaim-attribute/plugin_reclaim_attribute_gnuid.c | 2 | ||||
-rw-r--r-- | src/reclaim/plugin_rest_reclaim.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/reclaim-attribute/plugin_reclaim_attribute_gnuid.c b/src/reclaim-attribute/plugin_reclaim_attribute_gnuid.c index 37610e2fb..212425a6f 100644 --- a/src/reclaim-attribute/plugin_reclaim_attribute_gnuid.c +++ b/src/reclaim-attribute/plugin_reclaim_attribute_gnuid.c | |||
@@ -236,7 +236,7 @@ gnuid_typename_to_number_attest (void *cls, const char *gnuid_typename) | |||
236 | * @return corresponding typestring, NULL on error | 236 | * @return corresponding typestring, NULL on error |
237 | */ | 237 | */ |
238 | static const char * | 238 | static const char * |
239 | gnuid_number_to_typename (void *cls, uint32_t type) | 239 | gnuid_number_to_typename_attest (void *cls, uint32_t type) |
240 | { | 240 | { |
241 | unsigned int i; | 241 | unsigned int i; |
242 | 242 | ||
diff --git a/src/reclaim/plugin_rest_reclaim.c b/src/reclaim/plugin_rest_reclaim.c index c58b1560b..c719f95fd 100644 --- a/src/reclaim/plugin_rest_reclaim.c +++ b/src/reclaim/plugin_rest_reclaim.c | |||
@@ -443,7 +443,7 @@ add_attestation_cont (struct GNUNET_REST_RequestHandle *con_handle, | |||
443 | void *cls) | 443 | void *cls) |
444 | { | 444 | { |
445 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Adding Attestations not supported\n"); | 445 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Adding Attestations not supported\n"); |
446 | GNUNET_SCHEDULER_add_now (&do_error, handle); | 446 | GNUNET_SCHEDULER_add_now (&do_error, cls); |
447 | return; | 447 | return; |
448 | } | 448 | } |
449 | /*Placeholder*/ | 449 | /*Placeholder*/ |
@@ -453,7 +453,7 @@ list_attestation_cont (struct GNUNET_REST_RequestHandle *con_handle, | |||
453 | void *cls) | 453 | void *cls) |
454 | { | 454 | { |
455 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Listing Attestations not supported\n"); | 455 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Listing Attestations not supported\n"); |
456 | GNUNET_SCHEDULER_add_now (&do_error, handle); | 456 | GNUNET_SCHEDULER_add_now (&do_error, cls); |
457 | return; | 457 | return; |
458 | } | 458 | } |
459 | 459 | ||
@@ -464,7 +464,7 @@ delete_attestation_cont (struct GNUNET_REST_RequestHandle *con_handle, | |||
464 | void *cls) | 464 | void *cls) |
465 | { | 465 | { |
466 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Deleting Attestations not supported\n"); | 466 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Deleting Attestations not supported\n"); |
467 | GNUNET_SCHEDULER_add_now (&do_error, handle); | 467 | GNUNET_SCHEDULER_add_now (&do_error, cls); |
468 | return; | 468 | return; |
469 | } | 469 | } |
470 | 470 | ||