summaryrefslogtreecommitdiff
path: root/src/reclaim/reclaim_api.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-08-06 16:52:39 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-08-06 16:52:39 +0200
commit079beb884ac4236f993736c664660c3892560c9b (patch)
tree44697c4f22dc0ec92c56da4c3e05c1d87ce6b608 /src/reclaim/reclaim_api.c
parent6ab14a20690a499ad32e3f2ad448d64d4e6b65fc (diff)
-fix serialization
Diffstat (limited to 'src/reclaim/reclaim_api.c')
-rw-r--r--src/reclaim/reclaim_api.c5
1 files changed, 3 insertions, 2 deletions
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;
}