diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/reclaim/gnunet-service-reclaim.c | 3 | ||||
-rw-r--r-- | src/reclaim/reclaim_api.c | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/reclaim/gnunet-service-reclaim.c b/src/reclaim/gnunet-service-reclaim.c index b617d0ec3..d4d44c3fc 100644 --- a/src/reclaim/gnunet-service-reclaim.c +++ b/src/reclaim/gnunet-service-reclaim.c | |||
@@ -1907,7 +1907,6 @@ attest_iter_cb (void *cls, | |||
1907 | struct Iterator *ai = cls; | 1907 | struct Iterator *ai = cls; |
1908 | struct GNUNET_MQ_Envelope *env; | 1908 | struct GNUNET_MQ_Envelope *env; |
1909 | struct AttestationResultMessage *arm; | 1909 | struct AttestationResultMessage *arm; |
1910 | struct GNUNET_RECLAIM_Attestation *att; | ||
1911 | char *data_tmp; | 1910 | char *data_tmp; |
1912 | 1911 | ||
1913 | if ((rd_count != 1) || | 1912 | if ((rd_count != 1) || |
@@ -1916,8 +1915,6 @@ attest_iter_cb (void *cls, | |||
1916 | GNUNET_NAMESTORE_zone_iterator_next (ai->ns_it, 1); | 1915 | GNUNET_NAMESTORE_zone_iterator_next (ai->ns_it, 1); |
1917 | return; | 1916 | return; |
1918 | } | 1917 | } |
1919 | att = GNUNET_RECLAIM_attestation_deserialize (rd->data, | ||
1920 | rd->data_size); | ||
1921 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Found attestation under: %s\n", | 1918 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Found attestation under: %s\n", |
1922 | label); | 1919 | label); |
1923 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 1920 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
diff --git a/src/reclaim/reclaim_api.c b/src/reclaim/reclaim_api.c index b863789a2..cfe137949 100644 --- a/src/reclaim/reclaim_api.c +++ b/src/reclaim/reclaim_api.c | |||
@@ -705,11 +705,9 @@ handle_attribute_result (void *cls, const struct AttributeResultMessage *msg) | |||
705 | struct GNUNET_RECLAIM_AttributeIterator *it; | 705 | struct GNUNET_RECLAIM_AttributeIterator *it; |
706 | struct GNUNET_RECLAIM_Operation *op; | 706 | struct GNUNET_RECLAIM_Operation *op; |
707 | size_t attr_len; | 707 | size_t attr_len; |
708 | size_t attest_len; | ||
709 | uint32_t r_id = ntohl (msg->id); | 708 | uint32_t r_id = ntohl (msg->id); |
710 | 709 | ||
711 | attr_len = ntohs (msg->attr_len); | 710 | attr_len = ntohs (msg->attr_len); |
712 | attest_len = ntohs (msg->attestation_len); | ||
713 | LOG (GNUNET_ERROR_TYPE_DEBUG, "Processing attribute result.\n"); | 711 | LOG (GNUNET_ERROR_TYPE_DEBUG, "Processing attribute result.\n"); |
714 | 712 | ||
715 | 713 | ||