exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 7234e063a7bb2571dafef4edc3d3f90d3b78c063
parent dc4cbbc060eda607065cdfbc49262db6c553ecdc
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 23 Sep 2016 14:07:12 +0200

Merge branch 'master' of git+ssh://git.taler.net/var/git/exchange

Diffstat:
Mdoc/taler.conf.5 | 2+-
Msrc/exchange-tools/taler-exchange-keyup.c | 6+++---
Msrc/exchangedb/exchangedb_signkeys.c | 6+++---
3 files changed, 7 insertions(+), 7 deletions(-)

diff --git 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 diff --git 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, diff --git 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; }