diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-07-01 07:08:13 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-07-01 07:08:13 +0200 |
commit | 085e40bc562343221bceb6fc4dc9aba8e32a27e3 (patch) | |
tree | a1fedd984e06ffa685e14dc5b7942d8d5b550c24 /src/exchange | |
parent | 2805018da25b07a36b1ab56e6fc990d72d86d70a (diff) | |
download | exchange-085e40bc562343221bceb6fc4dc9aba8e32a27e3.tar.gz exchange-085e40bc562343221bceb6fc4dc9aba8e32a27e3.tar.bz2 exchange-085e40bc562343221bceb6fc4dc9aba8e32a27e3.zip |
-exchange_api_batch_deposit.c compiles
Diffstat (limited to 'src/exchange')
-rw-r--r-- | src/exchange/taler-exchange-httpd_common_deposit.c | 6 | ||||
-rw-r--r-- | src/exchange/taler-exchange-httpd_keys.c | 4 | ||||
-rw-r--r-- | src/exchange/taler-exchange-httpd_purses_create.c | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/exchange/taler-exchange-httpd_common_deposit.c b/src/exchange/taler-exchange-httpd_common_deposit.c index cfa15fccb..694dfa411 100644 --- a/src/exchange/taler-exchange-httpd_common_deposit.c +++ b/src/exchange/taler-exchange-httpd_common_deposit.c @@ -214,8 +214,8 @@ TEH_common_deposit_check_purse_deposit ( MHD_HTTP_FORBIDDEN, TALER_EC_EXCHANGE_PURSE_DEPOSIT_COIN_SIGNATURE_INVALID, TEH_base_url)) - ? GNUNET_NO - : GNUNET_SYSERR; + ? GNUNET_NO + : GNUNET_SYSERR; } /* Check and verify the age restriction. */ @@ -301,7 +301,7 @@ if (0 > MHD_HTTP_INTERNAL_SERVER_ERROR, TALER_EC_GENERIC_DB_COMMIT_FAILED, "make_coin_known")) - ? GNUNET_NO : GNUNET_SYSERR; + ? GNUNET_NO : GNUNET_SYSERR; } if (qs < 0) return (MHD_YES == mhd_ret) ? GNUNET_NO : GNUNET_SYSERR; diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c index 65fe0f315..b1fa2cbc4 100644 --- a/src/exchange/taler-exchange-httpd_keys.c +++ b/src/exchange/taler-exchange-httpd_keys.c @@ -2216,10 +2216,10 @@ finish_keys_response (struct TEH_KeyStateHandle *ksh) switch (meta.cipher) { case TALER_DENOMINATION_RSA: - cipher = age_restricted ? "RSA+age_restricted": "RSA"; + cipher = age_restricted ? "RSA+age_restricted" : "RSA"; break; case TALER_DENOMINATION_CS: - cipher = age_restricted ? "CS+age_restricted": "CS"; + cipher = age_restricted ? "CS+age_restricted" : "CS"; break; default: GNUNET_assert (false); diff --git a/src/exchange/taler-exchange-httpd_purses_create.c b/src/exchange/taler-exchange-httpd_purses_create.c index b6eea05fa..9cabdb1a1 100644 --- a/src/exchange/taler-exchange-httpd_purses_create.c +++ b/src/exchange/taler-exchange-httpd_purses_create.c @@ -458,8 +458,8 @@ parse_coin (struct MHD_Connection *connection, MHD_HTTP_INTERNAL_SERVER_ERROR, TALER_EC_GENERIC_FAILED_COMPUTE_AMOUNT, "total deposit contribution")) - ? GNUNET_NO - : GNUNET_SYSERR; + ? GNUNET_NO + : GNUNET_SYSERR; } return GNUNET_OK; } |