Initial Fixes of plugin
authorMarkus Voggenreiter <Markus.Voggenreiter@tum.de>
Wed, 9 Oct 2019 19:39:35 +0000 (21:39 +0200)
committerSchanzenbach, Martin <mschanzenbach@posteo.de>
Mon, 13 Jan 2020 12:31:01 +0000 (13:31 +0100)
src/reclaim-attribute/plugin_reclaim_attribute_gnuid.c
src/reclaim/plugin_rest_reclaim.c

index 37610e2fbd3a145feba156fa43113c3ecf783d59..212425a6ff52e696661b2a030f539c2ffca6d0b9 100644 (file)
@@ -236,7 +236,7 @@ gnuid_typename_to_number_attest (void *cls, const char *gnuid_typename)
  * @return corresponding typestring, NULL on error
  */
 static const char *
-gnuid_number_to_typename (void *cls, uint32_t type)
+gnuid_number_to_typename_attest (void *cls, uint32_t type)
 {
   unsigned int i;
 
index c58b1560b754b01991b0834b3685f8c80c79841a..c719f95fdd068f778e2aab4e0759f781415e595b 100644 (file)
@@ -443,7 +443,7 @@ add_attestation_cont (struct GNUNET_REST_RequestHandle *con_handle,
                       void *cls)
 {
   GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Adding Attestations not supported\n");
-  GNUNET_SCHEDULER_add_now (&do_error, handle);
+  GNUNET_SCHEDULER_add_now (&do_error, cls);
   return;
 }
 /*Placeholder*/
@@ -453,7 +453,7 @@ list_attestation_cont (struct GNUNET_REST_RequestHandle *con_handle,
                        void *cls)
 {
   GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Listing Attestations not supported\n");
-  GNUNET_SCHEDULER_add_now (&do_error, handle);
+  GNUNET_SCHEDULER_add_now (&do_error, cls);
   return;
 }
 
@@ -464,7 +464,7 @@ delete_attestation_cont (struct GNUNET_REST_RequestHandle *con_handle,
                          void *cls)
 {
   GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Deleting Attestations not supported\n");
-  GNUNET_SCHEDULER_add_now (&do_error, handle);
+  GNUNET_SCHEDULER_add_now (&do_error, cls);
   return;
 }