fix fmt string issues
This commit is contained in:
parent
458992dc6f
commit
ad6a40aaa5
@ -143,7 +143,7 @@ handle_admin_add_incoming_finished (void *cls,
|
|||||||
/* unexpected response code */
|
/* unexpected response code */
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Unexpected response code %u\n",
|
"Unexpected response code %u\n",
|
||||||
response_code);
|
(unsigned int) response_code);
|
||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
response_code = 0;
|
response_code = 0;
|
||||||
break;
|
break;
|
||||||
|
@ -122,7 +122,7 @@ handle_admin_add_incoming_finished (void *cls,
|
|||||||
/* unexpected response code */
|
/* unexpected response code */
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Unexpected response code %u\n",
|
"Unexpected response code %u\n",
|
||||||
response_code);
|
(unsigned int) response_code);
|
||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
response_code = 0;
|
response_code = 0;
|
||||||
break;
|
break;
|
||||||
|
@ -246,7 +246,7 @@ handle_deposit_finished (void *cls,
|
|||||||
/* unexpected response code */
|
/* unexpected response code */
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Unexpected response code %u\n",
|
"Unexpected response code %u\n",
|
||||||
response_code);
|
(unsigned int) response_code);
|
||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
response_code = 0;
|
response_code = 0;
|
||||||
break;
|
break;
|
||||||
|
@ -224,7 +224,7 @@ handle_deposit_wtid_finished (void *cls,
|
|||||||
/* unexpected response code */
|
/* unexpected response code */
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Unexpected response code %u\n",
|
"Unexpected response code %u\n",
|
||||||
response_code);
|
(unsigned int) response_code);
|
||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
response_code = 0;
|
response_code = 0;
|
||||||
break;
|
break;
|
||||||
|
@ -632,7 +632,7 @@ keys_completed_cb (void *cls,
|
|||||||
default:
|
default:
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Unexpected response code %u\n",
|
"Unexpected response code %u\n",
|
||||||
response_code);
|
(unsigned int) response_code);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1325,7 +1325,7 @@ handle_refresh_melt_finished (void *cls,
|
|||||||
/* unexpected response code */
|
/* unexpected response code */
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Unexpected response code %u\n",
|
"Unexpected response code %u\n",
|
||||||
response_code);
|
(unsigned int) response_code);
|
||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
response_code = 0;
|
response_code = 0;
|
||||||
break;
|
break;
|
||||||
@ -1860,7 +1860,7 @@ handle_refresh_reveal_finished (void *cls,
|
|||||||
/* unexpected response code */
|
/* unexpected response code */
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Unexpected response code %u\n",
|
"Unexpected response code %u\n",
|
||||||
response_code);
|
(unsigned int) response_code);
|
||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
response_code = 0;
|
response_code = 0;
|
||||||
break;
|
break;
|
||||||
|
@ -364,7 +364,7 @@ handle_refresh_link_finished (void *cls,
|
|||||||
/* unexpected response code */
|
/* unexpected response code */
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Unexpected response code %u\n",
|
"Unexpected response code %u\n",
|
||||||
response_code);
|
(unsigned int) response_code);
|
||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
response_code = 0;
|
response_code = 0;
|
||||||
break;
|
break;
|
||||||
|
@ -177,7 +177,7 @@ handle_refund_finished (void *cls,
|
|||||||
/* unexpected response code */
|
/* unexpected response code */
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Unexpected response code %u\n",
|
"Unexpected response code %u\n",
|
||||||
response_code);
|
(unsigned int) response_code);
|
||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
response_code = 0;
|
response_code = 0;
|
||||||
break;
|
break;
|
||||||
|
@ -363,7 +363,7 @@ handle_reserve_status_finished (void *cls,
|
|||||||
/* unexpected response code */
|
/* unexpected response code */
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Unexpected response code %u\n",
|
"Unexpected response code %u\n",
|
||||||
response_code);
|
(unsigned int) response_code);
|
||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
response_code = 0;
|
response_code = 0;
|
||||||
break;
|
break;
|
||||||
@ -738,7 +738,7 @@ handle_reserve_withdraw_finished (void *cls,
|
|||||||
/* unexpected response code */
|
/* unexpected response code */
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Unexpected response code %u\n",
|
"Unexpected response code %u\n",
|
||||||
response_code);
|
(unsigned int) response_code);
|
||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
response_code = 0;
|
response_code = 0;
|
||||||
break;
|
break;
|
||||||
|
@ -203,7 +203,7 @@ handle_wire_finished (void *cls,
|
|||||||
/* unexpected response code */
|
/* unexpected response code */
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Unexpected response code %u\n",
|
"Unexpected response code %u\n",
|
||||||
response_code);
|
(unsigned int) response_code);
|
||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
response_code = 0;
|
response_code = 0;
|
||||||
break;
|
break;
|
||||||
|
@ -217,7 +217,7 @@ handle_wire_deposits_finished (void *cls,
|
|||||||
/* unexpected response code */
|
/* unexpected response code */
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Unexpected response code %u\n",
|
"Unexpected response code %u\n",
|
||||||
response_code);
|
(unsigned int) response_code);
|
||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
response_code = 0;
|
response_code = 0;
|
||||||
break;
|
break;
|
||||||
|
@ -1270,9 +1270,9 @@ find_pk (const struct TALER_EXCHANGE_Keys *keys,
|
|||||||
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
|
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
|
||||||
"Have denomination key for `%s', but with wrong expiration range %llu vs [%llu,%llu)\n",
|
"Have denomination key for `%s', but with wrong expiration range %llu vs [%llu,%llu)\n",
|
||||||
str,
|
str,
|
||||||
now.abs_value_us,
|
(unsigned long long) now.abs_value_us,
|
||||||
pk->valid_from.abs_value_us,
|
(unsigned long long) pk->valid_from.abs_value_us,
|
||||||
pk->withdraw_valid_until.abs_value_us);
|
(unsigned long long) pk->withdraw_valid_until.abs_value_us);
|
||||||
GNUNET_free (str);
|
GNUNET_free (str);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
@ -1397,7 +1397,6 @@ wire_deposits_cb (void *cls,
|
|||||||
{
|
{
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Total amount missmatch to command %s\n",
|
"Total amount missmatch to command %s\n",
|
||||||
http_status,
|
|
||||||
cmd->label);
|
cmd->label);
|
||||||
json_dumpf (json, stderr, 0);
|
json_dumpf (json, stderr, 0);
|
||||||
fail (is);
|
fail (is);
|
||||||
@ -1451,7 +1450,6 @@ wire_deposits_cb (void *cls,
|
|||||||
{
|
{
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Total amount missmatch to command %s\n",
|
"Total amount missmatch to command %s\n",
|
||||||
http_status,
|
|
||||||
cmd->label);
|
cmd->label);
|
||||||
json_dumpf (json, stderr, 0);
|
json_dumpf (json, stderr, 0);
|
||||||
fail (is);
|
fail (is);
|
||||||
|
@ -70,7 +70,7 @@ signkeys_iterate_dir_iter (void *cls,
|
|||||||
"Invalid signkey file `%s': wrong size (%d, expected %u)\n",
|
"Invalid signkey file `%s': wrong size (%d, expected %u)\n",
|
||||||
filename,
|
filename,
|
||||||
(int) nread,
|
(int) nread,
|
||||||
sizeof (struct TALER_EXCHANGEDB_PrivateSigningKeyInformationP));
|
(unsigned int) sizeof (struct TALER_EXCHANGEDB_PrivateSigningKeyInformationP));
|
||||||
return GNUNET_OK;
|
return GNUNET_OK;
|
||||||
}
|
}
|
||||||
return skc->it (skc->it_cls,
|
return skc->it (skc->it_cls,
|
||||||
|
Loading…
Reference in New Issue
Block a user