From 012e2a6e64e8b5c5022a20bfd786fa3d08c8e857 Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Sat, 13 Apr 2019 11:49:59 +0200 Subject: [PATCH] RECLAIM: fix cli --- src/reclaim/gnunet-reclaim.c | 5 +++-- src/reclaim/gnunet-service-reclaim_tickets.c | 1 + 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 = -- 2.25.1