From 54862377d6fccfbba84b719608d72cb10bab0271 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Mon, 19 Sep 2016 15:06:30 +0200 Subject: fixing taler.conf.5 --- doc/taler.conf.5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/taler.conf.5 b/doc/taler.conf.5 index 7d9a4e92a..6e50c69be 100644 --- a/doc/taler.conf.5 +++ b/doc/taler.conf.5 @@ -8,7 +8,7 @@ taler.conf \- Taler configuration file. .SH DESCRIPTION -The basic structure of the configuration file is the following. The file is split into sections. Every section begins with "[SECTIONNAME]" and contains a number of options of the form "OPTION=VALUE". Empty lines and lines beginning with a "#" are treated as comments. Files containing default values for many of the options described below are installed under \$TALER\_PREFIX/share/taler/config.d/. The configuration file given with \-c to Taler binaries overrides these defaults. +The basic structure of the configuration file is the following. The file is split into sections. Every section begins with "[SECTIONNAME]" and contains a number of options of the form "OPTION=VALUE". Empty lines and lines beginning with a "#" are treated as comments. Files containing default values for many of the options described below are installed under $TALER\_PREFIX/share/taler/config.d/. The configuration file given with \-c to Taler binaries overrides these defaults. .SH EXCHANGE OPTIONS -- cgit v1.2.3 From b3c4803c55c7ba39827e6d3a87c34ee79bbae120 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Tue, 20 Sep 2016 13:11:39 +0200 Subject: renaming local variable --- src/exchangedb/exchangedb_signkeys.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/exchangedb/exchangedb_signkeys.c b/src/exchangedb/exchangedb_signkeys.c index 4ead23134..8273c84b8 100644 --- a/src/exchangedb/exchangedb_signkeys.c +++ b/src/exchangedb/exchangedb_signkeys.c @@ -125,13 +125,13 @@ static char * get_signkey_file (const char *exchange_directory, struct GNUNET_TIME_Absolute start) { - char *dir; + char *fn; - GNUNET_asprintf (&dir, + GNUNET_asprintf (&fn, "%s" DIR_SEPARATOR_STR TALER_EXCHANGEDB_DIR_SIGNING_KEYS DIR_SEPARATOR_STR "%llu", exchange_directory, (unsigned long long) start.abs_value_us); - return dir; + return fn; } -- cgit v1.2.3 From 64b7126234ed5765a63867e38d120f35630717dd Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Tue, 20 Sep 2016 14:30:38 +0200 Subject: strtol -> strtoll, which made the anchor (see signkey generation algorithm) always point to the 70s, so new signkeys were always generated --- src/exchange-tools/taler-exchange-keyup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/exchange-tools/taler-exchange-keyup.c b/src/exchange-tools/taler-exchange-keyup.c index d039c427f..9e2500d2a 100644 --- a/src/exchange-tools/taler-exchange-keyup.c +++ b/src/exchange-tools/taler-exchange-keyup.c @@ -354,9 +354,9 @@ get_anchor_iter (void *cls, char *end = NULL; base = GNUNET_STRINGS_get_short_name (filename); - stamp.abs_value_us = strtol (base, - &end, - 10); + stamp.abs_value_us = strtoll (base, + &end, + 10); if ((NULL == end) || (0 != *end)) { fprintf(stderr, -- cgit v1.2.3