mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
make r12272 compile on 64-bit
svn:r12315
This commit is contained in:
parent
4ead38a4e9
commit
e5ec8248e8
@ -1032,7 +1032,7 @@ rend_cache_store_v2_desc_as_dir(const char *desc)
|
|||||||
e->desc = tor_strndup(current_desc, encoded_size);
|
e->desc = tor_strndup(current_desc, encoded_size);
|
||||||
e->len = encoded_size;
|
e->len = encoded_size;
|
||||||
log_info(LD_REND, "Successfully stored service descriptor with desc ID "
|
log_info(LD_REND, "Successfully stored service descriptor with desc ID "
|
||||||
"'%s' and len %d.", desc_id_base32, encoded_size);
|
"'%s' and len %d.", desc_id_base32, (int)encoded_size);
|
||||||
number_stored++;
|
number_stored++;
|
||||||
goto advance;
|
goto advance;
|
||||||
skip:
|
skip:
|
||||||
@ -1150,7 +1150,7 @@ rend_cache_store_v2_desc_as_client(const char *desc,
|
|||||||
strlcpy(e->desc, desc, encoded_size + 1);
|
strlcpy(e->desc, desc, encoded_size + 1);
|
||||||
e->len = encoded_size;
|
e->len = encoded_size;
|
||||||
log_debug(LD_REND,"Successfully stored rend desc '%s', len %d.",
|
log_debug(LD_REND,"Successfully stored rend desc '%s', len %d.",
|
||||||
service_id, encoded_size);
|
service_id, (int)encoded_size);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user