aboutsummaryrefslogtreecommitdiff
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)
downloadgnunet-079beb884ac4236f993736c664660c3892560c9b.tar.gz
gnunet-079beb884ac4236f993736c664660c3892560c9b.zip
-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)
747 747
748 { 748 {
749 struct GNUNET_RECLAIM_Attribute *attr; 749 struct GNUNET_RECLAIM_Attribute *attr;
750 attr = GNUNET_RECLAIM_attribute_deserialize ((char *) &msg[1], attr_len); 750 GNUNET_RECLAIM_attribute_deserialize ((char *) &msg[1], attr_len,
751 &attr);
751 if (NULL != it) 752 if (NULL != it)
752 { 753 {
753 if (NULL != it->proc) 754 if (NULL != it->proc)
@@ -1573,7 +1574,7 @@ GNUNET_RECLAIM_ticket_consume (
1573 if (NULL != h->mq) 1574 if (NULL != h->mq)
1574 GNUNET_MQ_send_copy (h->mq, op->env); 1575 GNUNET_MQ_send_copy (h->mq, op->env);
1575 else 1576 else
1576 reconnect(h); 1577 reconnect (h);
1577 return op; 1578 return op;
1578} 1579}
1579 1580