tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit f60607ee96bf85286c7ef58f7fcf5ab00f0c3ad0
parent 383b44553c433cefc70c4f413ad48efc87f9bbea
Author: Fernando Fernandez Mancera <ffmancera@riseup.net>
Date:   Mon, 29 Oct 2018 17:07:41 +0100

Improve log message in hs_service.c

Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>

Diffstat:
Msrc/feature/hs/hs_service.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/feature/hs/hs_service.c b/src/feature/hs/hs_service.c @@ -2931,8 +2931,8 @@ set_descriptor_revision_counter(hs_service_descriptor_t *hs_desc, time_t now, /* The OPE module returns CRYPTO_OPE_ERROR in case of errors. */ tor_assert_nonfatal(rev_counter < CRYPTO_OPE_ERROR); - log_info(LD_REND, "Encrypted revision counter %d to %ld", - (int) seconds_since_start_of_srv, (long int) rev_counter); + log_info(LD_REND, "Encrypted revision counter %d to %" PRIu64, + (int) seconds_since_start_of_srv, rev_counter); hs_desc->desc->plaintext_data.revision_counter = rev_counter; }