diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-08-06 16:52:39 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-08-06 16:52:39 +0200 |
commit | 079beb884ac4236f993736c664660c3892560c9b (patch) | |
tree | 44697c4f22dc0ec92c56da4c3e05c1d87ce6b608 /src/reclaim/reclaim_api.c | |
parent | 6ab14a20690a499ad32e3f2ad448d64d4e6b65fc (diff) |
-fix serialization
Diffstat (limited to 'src/reclaim/reclaim_api.c')
-rw-r--r-- | src/reclaim/reclaim_api.c | 5 |
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; } |