From 079beb884ac4236f993736c664660c3892560c9b Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Thu, 6 Aug 2020 16:52:39 +0200 Subject: -fix serialization --- src/reclaim/reclaim_api.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/reclaim/reclaim_api.c') diff --git a/src/reclaim/reclaim_api.c b/src/reclaim/reclaim_api.c index d73241a6f..b432b4f2a 100644 --- a/src/reclaim/reclaim_api.c +++ b/src/reclaim/reclaim_api.c @@ -747,7 +747,8 @@ handle_attribute_result (void *cls, const struct AttributeResultMessage *msg) { struct GNUNET_RECLAIM_Attribute *attr; - attr = GNUNET_RECLAIM_attribute_deserialize ((char *) &msg[1], attr_len); + GNUNET_RECLAIM_attribute_deserialize ((char *) &msg[1], attr_len, + &attr); if (NULL != it) { if (NULL != it->proc) @@ -1573,7 +1574,7 @@ GNUNET_RECLAIM_ticket_consume ( if (NULL != h->mq) GNUNET_MQ_send_copy (h->mq, op->env); else - reconnect(h); + reconnect (h); return op; } -- cgit v1.2.3