aboutsummaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_db.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mint/taler-mint-httpd_db.c')
-rw-r--r--src/mint/taler-mint-httpd_db.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mint/taler-mint-httpd_db.c b/src/mint/taler-mint-httpd_db.c
index 19fcb1c12..d5613c0dc 100644
--- a/src/mint/taler-mint-httpd_db.c
+++ b/src/mint/taler-mint-httpd_db.c
@@ -85,7 +85,7 @@ TALER_MINT_db_execute_deposit (struct MHD_Connection *connection,
85 struct TALER_MINT_DenomKeyIssuePriv *dki; 85 struct TALER_MINT_DenomKeyIssuePriv *dki;
86 int ret; 86 int ret;
87 87
88 if (NULL == (db_conn = TALER_MINT_DB_get_connection ())) 88 if (NULL == (db_conn = TALER_MINT_DB_get_connection (GNUNET_NO)))
89 { 89 {
90 GNUNET_break (0); 90 GNUNET_break (0);
91 return TALER_MINT_reply_internal_db_error (connection); 91 return TALER_MINT_reply_internal_db_error (connection);
@@ -203,7 +203,7 @@ TALER_MINT_db_execute_withdraw_status (struct MHD_Connection *connection,
203 struct ReserveHistory *rh; 203 struct ReserveHistory *rh;
204 int res; 204 int res;
205 205
206 if (NULL == (db_conn = TALER_MINT_DB_get_connection ())) 206 if (NULL == (db_conn = TALER_MINT_DB_get_connection (GNUNET_NO)))
207 { 207 {
208 GNUNET_break (0); 208 GNUNET_break (0);
209 return TALER_MINT_reply_internal_db_error (connection); 209 return TALER_MINT_reply_internal_db_error (connection);
@@ -264,7 +264,7 @@ TALER_MINT_db_execute_withdraw_sign (struct MHD_Connection *connection,
264 blinded_msg_len, 264 blinded_msg_len,
265 &h_blind); 265 &h_blind);
266 266
267 if (NULL == (db_conn = TALER_MINT_DB_get_connection ())) 267 if (NULL == (db_conn = TALER_MINT_DB_get_connection (GNUNET_NO)))
268 { 268 {
269 GNUNET_break (0); 269 GNUNET_break (0);
270 return TALER_MINT_reply_internal_db_error (connection); 270 return TALER_MINT_reply_internal_db_error (connection);
@@ -521,7 +521,7 @@ TALER_MINT_db_execute_refresh_melt (struct MHD_Connection *connection,
521 int res; 521 int res;
522 unsigned int i; 522 unsigned int i;
523 523
524 if (NULL == (db_conn = TALER_MINT_DB_get_connection ())) 524 if (NULL == (db_conn = TALER_MINT_DB_get_connection (GNUNET_NO)))
525 { 525 {
526 GNUNET_break (0); 526 GNUNET_break (0);
527 return TALER_MINT_reply_internal_db_error (connection); 527 return TALER_MINT_reply_internal_db_error (connection);
@@ -650,7 +650,7 @@ TALER_MINT_db_execute_refresh_commit (struct MHD_Connection *connection,
650 unsigned int j; 650 unsigned int j;
651 int res; 651 int res;
652 652
653 if (NULL == (db_conn = TALER_MINT_DB_get_connection ())) 653 if (NULL == (db_conn = TALER_MINT_DB_get_connection (GNUNET_NO)))
654 { 654 {
655 GNUNET_break (0); 655 GNUNET_break (0);
656 return TALER_MINT_reply_internal_db_error (connection); 656 return TALER_MINT_reply_internal_db_error (connection);
@@ -1034,7 +1034,7 @@ TALER_MINT_db_execute_refresh_reveal (struct MHD_Connection *connection,
1034 unsigned int j; 1034 unsigned int j;
1035 unsigned int off; 1035 unsigned int off;
1036 1036
1037 if (NULL == (db_conn = TALER_MINT_DB_get_connection ())) 1037 if (NULL == (db_conn = TALER_MINT_DB_get_connection (GNUNET_NO)))
1038 { 1038 {
1039 GNUNET_break (0); 1039 GNUNET_break (0);
1040 return TALER_MINT_reply_internal_db_error (connection); 1040 return TALER_MINT_reply_internal_db_error (connection);
@@ -1202,7 +1202,7 @@ TALER_MINT_db_execute_refresh_link (struct MHD_Connection *connection,
1202 struct TALER_EncryptedLinkSecret shared_secret_enc; 1202 struct TALER_EncryptedLinkSecret shared_secret_enc;
1203 struct LinkDataList *ldl; 1203 struct LinkDataList *ldl;
1204 1204
1205 if (NULL == (db_conn = TALER_MINT_DB_get_connection ())) 1205 if (NULL == (db_conn = TALER_MINT_DB_get_connection (GNUNET_NO)))
1206 { 1206 {
1207 GNUNET_break (0); 1207 GNUNET_break (0);
1208 return TALER_MINT_reply_internal_db_error (connection); 1208 return TALER_MINT_reply_internal_db_error (connection);