mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
make the patch less likely to bite us later
svn:r5021
This commit is contained in:
parent
93c1d37d5f
commit
569efe61c0
@ -173,7 +173,7 @@ connection_edge_destroy(uint16_t circ_id, connection_t *conn)
|
||||
int
|
||||
connection_edge_end(connection_t *conn, char reason, crypt_path_t *cpath_layer)
|
||||
{
|
||||
char payload[9];
|
||||
char payload[RELAY_PAYLOAD_SIZE];
|
||||
size_t payload_len=1;
|
||||
circuit_t *circ;
|
||||
|
||||
|
@ -570,7 +570,7 @@ _compare_tor_version_str_ptr(const void **_a, const void **_b)
|
||||
return -1;
|
||||
if (ca && !cb)
|
||||
return 1;
|
||||
/* If neiher parses, compare strings. Also, the directory server admin needs
|
||||
/* If neither parses, compare strings. Also, the directory server admin needs
|
||||
** to be smacked upside the head. But Tor is tolerant and gentle. */
|
||||
return strcmp(a,b);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user