Fix various typos

This commit is contained in:
Nick Mathewson 2018-05-30 07:57:22 -07:00
parent aff49cc52d
commit d7bbfd0f62
4 changed files with 4 additions and 4 deletions

View File

@ -529,7 +529,7 @@ Changes in version 0.3.3.6 - 2018-05-22
would call the Rust implementation of would call the Rust implementation of
protover_get_supported_protocols(). This was due to the C version protover_get_supported_protocols(). This was due to the C version
returning a static string, whereas the Rust version newly allocated returning a static string, whereas the Rust version newly allocated
a CString to pass accross the FFI boundary. Consequently, the C a CString to pass across the FFI boundary. Consequently, the C
code was not expecting to need to free() what it was given. Fixes code was not expecting to need to free() what it was given. Fixes
bug 25127; bugfix on 0.3.2.1-alpha. bug 25127; bugfix on 0.3.2.1-alpha.

View File

@ -169,7 +169,7 @@ def notify():
response = line.split() response = line.split()
if response[0] == 'PING': if response[0] == 'PING':
irc_file.send('PONG {}\r\n'.format(reponse[1]).encode()) irc_file.send('PONG {}\r\n'.format(response[1]).encode())
elif response[1] == '433': elif response[1] == '433':
irc_sock.send('NICK {}\r\n'.format(irc_nick).encode()) irc_sock.send('NICK {}\r\n'.format(irc_nick).encode())

View File

@ -7,7 +7,7 @@
/** /**
* \file crypto_rand.h * \file crypto_rand.h
* *
* \brief Common functions for using (psuedo-)random number generators. * \brief Common functions for using (pseudo-)random number generators.
**/ **/
#ifndef TOR_CRYPTO_RAND_H #ifndef TOR_CRYPTO_RAND_H

View File

@ -1470,7 +1470,7 @@ test_download_status_bridge(void *arg)
return; return;
} }
/** Set timeval to a mock date and time. This is neccessary /** Set timeval to a mock date and time. This is necessary
* to make tor_gettimeofday() mockable. */ * to make tor_gettimeofday() mockable. */
static void static void
mock_tor_gettimeofday(struct timeval *timeval) mock_tor_gettimeofday(struct timeval *timeval)