fixing indentation only

This commit is contained in:
Christian Grothoff 2019-07-24 13:51:38 +02:00
parent f1a9eaeb0b
commit 10e7f7c28c
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -1524,9 +1524,9 @@ verify_reserve_balance (void *cls,
TALER_B2S (&rs->reserve_pub), TALER_B2S (&rs->reserve_pub),
TALER_amount2s (&balance)); TALER_amount2s (&balance));
qs = adb->del_reserve_info (adb->cls, qs = adb->del_reserve_info (adb->cls,
asession, asession,
&rs->reserve_pub, &rs->reserve_pub,
&master_pub); &master_pub);
if (0 >= qs) if (0 >= qs)
{ {
GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qs); GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qs);
@ -1553,20 +1553,20 @@ verify_reserve_balance (void *cls,
if (rs->had_ri) if (rs->had_ri)
qs = adb->update_reserve_info (adb->cls, qs = adb->update_reserve_info (adb->cls,
asession, asession,
&rs->reserve_pub, &rs->reserve_pub,
&master_pub, &master_pub,
&balance, &balance,
&rs->a_withdraw_fee_balance, &rs->a_withdraw_fee_balance,
rs->a_expiration_date); rs->a_expiration_date);
else else
qs = adb->insert_reserve_info (adb->cls, qs = adb->insert_reserve_info (adb->cls,
asession, asession,
&rs->reserve_pub, &rs->reserve_pub,
&master_pub, &master_pub,
&balance, &balance,
&rs->a_withdraw_fee_balance, &rs->a_withdraw_fee_balance,
rs->a_expiration_date); rs->a_expiration_date);
if (0 >= qs) if (0 >= qs)
{ {
GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qs); GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qs);
@ -1624,10 +1624,10 @@ analyze_reserves (void *cls)
} }
rc.qs = GNUNET_DB_STATUS_SUCCESS_ONE_RESULT; rc.qs = GNUNET_DB_STATUS_SUCCESS_ONE_RESULT;
qsx = adb->get_reserve_summary (adb->cls, qsx = adb->get_reserve_summary (adb->cls,
asession, asession,
&master_pub, &master_pub,
&total_escrow_balance, &total_escrow_balance,
&total_withdraw_fee_income); &total_withdraw_fee_income);
if (qsx < 0) if (qsx < 0)
{ {
GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qsx); GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qsx);
@ -1636,33 +1636,33 @@ analyze_reserves (void *cls)
rc.reserves = GNUNET_CONTAINER_multihashmap_create (512, rc.reserves = GNUNET_CONTAINER_multihashmap_create (512,
GNUNET_NO); GNUNET_NO);
rc.revoked = GNUNET_CONTAINER_multihashmap_create (4, rc.revoked = GNUNET_CONTAINER_multihashmap_create (4,
GNUNET_NO); GNUNET_NO);
qs = edb->select_reserves_in_above_serial_id (edb->cls, qs = edb->select_reserves_in_above_serial_id (edb->cls,
esession, esession,
ppr.last_reserve_in_serial_id, ppr.last_reserve_in_serial_id,
&handle_reserve_in, &handle_reserve_in,
&rc); &rc);
if (qs < 0) if (qs < 0)
{ {
GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qs); GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qs);
return qs; return qs;
} }
qs = edb->select_reserves_out_above_serial_id (edb->cls, qs = edb->select_reserves_out_above_serial_id (edb->cls,
esession, esession,
ppr.last_reserve_out_serial_id, ppr.last_reserve_out_serial_id,
&handle_reserve_out, &handle_reserve_out,
&rc); &rc);
if (qs < 0) if (qs < 0)
{ {
GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qs); GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qs);
return qs; return qs;
} }
qs = edb->select_payback_above_serial_id (edb->cls, qs = edb->select_payback_above_serial_id (edb->cls,
esession, esession,
ppr.last_reserve_payback_serial_id, ppr.last_reserve_payback_serial_id,
&handle_payback_by_reserve, &handle_payback_by_reserve,
&rc); &rc);
if (qs < 0) if (qs < 0)
{ {
GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qs); GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qs);