summaryrefslogtreecommitdiff
path: root/src/reclaim
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-04-13 11:49:59 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-04-14 10:01:24 +0200
commit38f1f248ac9666bd24655ef4b55ec38b909715ad (patch)
tree77264f76bc4e11925c5b1b73d82fa9f7ee373cfe /src/reclaim
parent41d086c02574e08a820612faf2cfb6e68049b316 (diff)
RECLAIM: fix cli
Diffstat (limited to 'src/reclaim')
-rw-r--r--src/reclaim/gnunet-reclaim.c5
-rw-r--r--src/reclaim/gnunet-service-reclaim_tickets.c1
2 files changed, 4 insertions, 2 deletions
diff --git a/src/reclaim/gnunet-reclaim.c b/src/reclaim/gnunet-reclaim.c
index 790813eec..0e5591d69 100644
--- a/src/reclaim/gnunet-reclaim.c
+++ b/src/reclaim/gnunet-reclaim.c
@@ -485,8 +485,9 @@ int main (int argc, char *const argv[])
gettext_noop ("Expiration interval of the attribute"), &exp_interval),
GNUNET_GETOPT_OPTION_END};
- if (GNUNET_OK !=
- GNUNET_PROGRAM_run (argc, argv, "ct", "ct", options, &run, NULL))
+ if (GNUNET_OK != GNUNET_PROGRAM_run (argc, argv, "gnunet-reclaim",
+ _ ("re:claimID command line tool"),
+ options, &run, NULL))
return 1;
else
return ret;
diff --git a/src/reclaim/gnunet-service-reclaim_tickets.c b/src/reclaim/gnunet-service-reclaim_tickets.c
index 16e831e22..33b58280a 100644
--- a/src/reclaim/gnunet-service-reclaim_tickets.c
+++ b/src/reclaim/gnunet-service-reclaim_tickets.c
@@ -547,6 +547,7 @@ static void issue_ticket (struct TicketIssueHandle *ih)
attrs_record[i].expiration_time = GNUNET_TIME_UNIT_DAYS.rel_value_us;
attrs_record[i].record_type = GNUNET_GNSRECORD_TYPE_RECLAIM_ATTR_REF;
attrs_record[i].flags = GNUNET_GNSRECORD_RF_RELATIVE_EXPIRATION;
+ i++;
}
label =