mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-01 08:03:31 +01:00
make r11808 build on my 64-bit
svn:r11809
This commit is contained in:
parent
23614f9523
commit
c9f2afd5fa
@ -1359,7 +1359,8 @@ dirvote_add_vote(const char *vote_body, const char **msg_out, int *status_out)
|
|||||||
again:
|
again:
|
||||||
vote = networkstatus_parse_vote_from_string(vote_body, &end_of_vote, 1);
|
vote = networkstatus_parse_vote_from_string(vote_body, &end_of_vote, 1);
|
||||||
if (!vote) {
|
if (!vote) {
|
||||||
log_warn(LD_DIR, "Couldn't parse vote: length was %d", strlen(vote_body));
|
log_warn(LD_DIR, "Couldn't parse vote: length was %d",
|
||||||
|
(int)strlen(vote_body));
|
||||||
*msg_out = "Unable to parse vote";
|
*msg_out = "Unable to parse vote";
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user