merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 561a579587d1c1144ff89198832fa1ed15872f64
parent 514f92a9169d70113f2e189bd3d5f8e83034d3a9
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Thu, 28 Apr 2016 13:10:47 +0200

typo + adding macro for "make check"

Diffstat:
Msrc/backenddb/test-merchantdb-postgres.conf | 2+-
Msrc/backenddb/test_merchantdb.c | 9++++++++-
2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/backenddb/test-merchantdb-postgres.conf b/src/backenddb/test-merchantdb-postgres.conf @@ -2,4 +2,4 @@ DB = postgres [merchantdb-postgres] -CONFIG = postges:///talertest +CONFIG = postgres:///talertest diff --git a/src/backenddb/test_merchantdb.c b/src/backenddb/test_merchantdb.c @@ -23,8 +23,15 @@ #include <taler/taler_util.h> #include "taler_merchantdb_lib.h" +#define FAILIF(cond) \ + do { \ + if (!(cond)){ break;} \ + GNUNET_break (0); \ + goto drop; \ + } while (0) + static int result; -static struct TALER_EXCHANGEDB_Plugin *plugin; +static struct TALER_MERCHANTDB_Plugin *plugin; /** * Main function that will be run by the scheduler.