diff options
author | Fernando Fernandez Mancera <ffmancera@riseup.net> | 2018-10-29 17:07:41 +0100 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2018-11-01 12:40:52 +0200 |
commit | f60607ee96bf85286c7ef58f7fcf5ab00f0c3ad0 (patch) | |
tree | 4c1521d0349faf99810a793cb20c7e3e7a84c5ac | |
parent | 383b44553c433cefc70c4f413ad48efc87f9bbea (diff) | |
download | tor-f60607ee96bf85286c7ef58f7fcf5ab00f0c3ad0.tar.gz tor-f60607ee96bf85286c7ef58f7fcf5ab00f0c3ad0.zip |
Improve log message in hs_service.c
Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
-rw-r--r-- | src/feature/hs/hs_service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/hs/hs_service.c b/src/feature/hs/hs_service.c index 7d56c9e2ad..c288e28e80 100644 --- 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; } |