diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-31 12:59:50 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-31 12:59:50 +0100 |
commit | 385b3e77dfa1b6bbaee5d0ec9da9bcbd69e91b70 (patch) | |
tree | 61550b547a56179e6abac9bee3502ecc5c537fa8 /src/auditor | |
parent | 325aaddbd6612c3baa56d01f6777faf77d082588 (diff) |
tighten formatting rules
Diffstat (limited to 'src/auditor')
-rw-r--r-- | src/auditor/taler-auditor-exchange.c | 3 | ||||
-rw-r--r-- | src/auditor/taler-auditor-httpd.c | 2 | ||||
-rw-r--r-- | src/auditor/taler-auditor-httpd_parsing.c | 1 | ||||
-rw-r--r-- | src/auditor/taler-auditor-sign.c | 1 | ||||
-rw-r--r-- | src/auditor/taler-auditor.c | 7 | ||||
-rw-r--r-- | src/auditor/taler-wire-auditor.c | 1 |
6 files changed, 6 insertions, 9 deletions
diff --git a/src/auditor/taler-auditor-exchange.c b/src/auditor/taler-auditor-exchange.c index 0020a5b07..e97fd64df 100644 --- a/src/auditor/taler-auditor-exchange.c +++ b/src/auditor/taler-auditor-exchange.c @@ -132,7 +132,7 @@ main (int argc, strlen ("http://"))) && (0 != strncasecmp ("https://", exchange_url, - strlen ("https://"))) ) || + strlen ("https://"))) ) || ('/' != exchange_url[strlen (exchange_url) - 1]) ) { fprintf (stderr, @@ -211,4 +211,5 @@ main (int argc, return 0; } + /* end of taler-auditor-exchange.c */ diff --git a/src/auditor/taler-auditor-httpd.c b/src/auditor/taler-auditor-httpd.c index 967a084ef..e37b4a0e8 100644 --- a/src/auditor/taler-auditor-httpd.c +++ b/src/auditor/taler-auditor-httpd.c @@ -269,7 +269,6 @@ signal_loop (void) } - /** * Function called whenever MHD is done with a request. If the * request was a POST, we may have stored a `struct Buffer *` in the @@ -980,4 +979,5 @@ main (int argc, return (GNUNET_SYSERR == ret) ? 1 : 0; } + /* end of taler-auditor-httpd.c */ diff --git a/src/auditor/taler-auditor-httpd_parsing.c b/src/auditor/taler-auditor-httpd_parsing.c index bac338cc0..fb707c88f 100644 --- a/src/auditor/taler-auditor-httpd_parsing.c +++ b/src/auditor/taler-auditor-httpd_parsing.c @@ -36,7 +36,6 @@ #define REQUEST_BUFFER_MAX (1024 * 1024) - /** * Process a POST request containing a JSON object. This function * realizes an MHD POST processor that will (incrementally) process diff --git a/src/auditor/taler-auditor-sign.c b/src/auditor/taler-auditor-sign.c index 2c7fe8293..f35b5de5b 100644 --- a/src/auditor/taler-auditor-sign.c +++ b/src/auditor/taler-auditor-sign.c @@ -439,4 +439,5 @@ main (int argc, return 0; } + /* end of taler-auditor-sign.c */ diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c index dbbc6c235..fc9bc870e 100644 --- a/src/auditor/taler-auditor.c +++ b/src/auditor/taler-auditor.c @@ -4041,8 +4041,7 @@ refresh_session_cb (void *cls, accepted a forged coin (i.e. emergency situation after private key compromise). In that case, we cannot even subtract the profit we make from the fee from the escrow - balance. Tested as part of test-auditor.sh, case #18 */ - report_amount_arithmetic_inconsistency ( + balance. Tested as part of test-auditor.sh, case #18 */report_amount_arithmetic_inconsistency ( "subtracting refresh fee from escrow balance", rowid, &total_escrow_balance, @@ -4225,8 +4224,7 @@ deposit_cb (void *cls, accepted a forged coin (i.e. emergency situation after private key compromise). In that case, we cannot even subtract the profit we make from the fee from the escrow - balance. Tested as part of test-auditor.sh, case #18 */ - report_amount_arithmetic_inconsistency ( + balance. Tested as part of test-auditor.sh, case #18 */report_amount_arithmetic_inconsistency ( "subtracting deposit fee from escrow balance", rowid, &total_escrow_balance, @@ -5010,7 +5008,6 @@ analyze_deposit_confirmations (void *cls) } - /* *************************** General transaction logic ****************** */ /** diff --git a/src/auditor/taler-wire-auditor.c b/src/auditor/taler-wire-auditor.c index a945f9df2..276f3554e 100644 --- a/src/auditor/taler-wire-auditor.c +++ b/src/auditor/taler-wire-auditor.c @@ -624,7 +624,6 @@ report (json_t *array, } - /** * Detect any entries in #reserve_closures that were not yet * observed on the wire transfer side and update the progress |