diff options
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.c')
-rw-r--r-- | src/mint/taler-mint-httpd_responses.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mint/taler-mint-httpd_responses.c b/src/mint/taler-mint-httpd_responses.c index 9ba855eea..75342cd2d 100644 --- a/src/mint/taler-mint-httpd_responses.c +++ b/src/mint/taler-mint-httpd_responses.c | |||
@@ -172,6 +172,21 @@ TALER_MINT_reply_internal_error (struct MHD_Connection *connection, | |||
172 | 172 | ||
173 | 173 | ||
174 | /** | 174 | /** |
175 | * Send a response indicating a failure to talk to the Mint's | ||
176 | * database. | ||
177 | * | ||
178 | * @param connection the MHD connection to use | ||
179 | * @return a MHD result code | ||
180 | */ | ||
181 | int | ||
182 | TALER_MINT_reply_internal_db_error (struct MHD_Connection *connection) | ||
183 | { | ||
184 | return TALER_MINT_reply_internal_error (connection, | ||
185 | "Failed to connect to database"); | ||
186 | } | ||
187 | |||
188 | |||
189 | /** | ||
175 | * Send a response indicating that the request was too big. | 190 | * Send a response indicating that the request was too big. |
176 | * | 191 | * |
177 | * @param connection the MHD connection to use | 192 | * @param connection the MHD connection to use |