make the patch less likely to bite us later

svn:r5021
This commit is contained in:
Roger Dingledine 2005-09-12 21:42:59 +00:00
parent 93c1d37d5f
commit 569efe61c0
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);
}