aboutsummaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_db.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-18 16:41:36 +0200
committerChristian Grothoff <christian@grothoff.org>2015-06-18 16:41:36 +0200
commit044403701dadd296775215ac85e4bfe0000ebc6c (patch)
treec7daf9a7415a37da23ff9755a8d118a10d17c552 /src/mint/taler-mint-httpd_db.c
parent37bf816873ac6b8b4e2e69e9c7037046d971dfff (diff)
fix range check, fix NULL check, fix plugin linkage
Diffstat (limited to 'src/mint/taler-mint-httpd_db.c')
-rw-r--r--src/mint/taler-mint-httpd_db.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mint/taler-mint-httpd_db.c b/src/mint/taler-mint-httpd_db.c
index c51f58205..78a8d6f40 100644
--- a/src/mint/taler-mint-httpd_db.c
+++ b/src/mint/taler-mint-httpd_db.c
@@ -613,9 +613,8 @@ TMH_DB_execute_refresh_melt (struct MHD_Connection *connection,
int res;
unsigned int i;
- if (NULL ==
- (session = TMH_plugin->get_session (TMH_plugin->cls,
- TMH_test_mode)))
+ if (NULL == (session = TMH_plugin->get_session (TMH_plugin->cls,
+ TMH_test_mode)))
{
GNUNET_break (0);
return TMH_RESPONSE_reply_internal_db_error (connection);