From: Schanzenbach, Martin Date: Sat, 13 Apr 2019 09:49:59 +0000 (+0200) Subject: RECLAIM: fix cli X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=012e2a6e64e8b5c5022a20bfd786fa3d08c8e857;p=oweals%2Fgnunet.git RECLAIM: fix cli --- 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 =