diff options
Diffstat (limited to 'src/exchange/taler-exchange-httpd_aml-decision.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_aml-decision.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_aml-decision.c b/src/exchange/taler-exchange-httpd_aml-decision.c index 16dc0d96..56935df5 100644 --- a/src/exchange/taler-exchange-httpd_aml-decision.c +++ b/src/exchange/taler-exchange-httpd_aml-decision.c @@ -119,7 +119,7 @@ TEH_handler_post_aml_decision ( if (0 == --retries_left) break; } while (GNUNET_DB_STATUS_SOFT_ERROR == qs); - if (qs < 0) + if (qs <= 0) { GNUNET_break (0); return TALER_MHD_reply_with_error (connection, @@ -129,6 +129,7 @@ TEH_handler_post_aml_decision ( } if (invalid_officer) { + GNUNET_break_op (0); return TALER_MHD_reply_with_error ( connection, MHD_HTTP_FORBIDDEN, @@ -136,7 +137,7 @@ TEH_handler_post_aml_decision ( NULL); } if (GNUNET_TIME_timestamp_cmp (last_date, - >, + >=, decision_time)) { GNUNET_break_op (0); |