[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Fix various typos
commit d7bbfd0f6217181fc7f4a4a71d23874873a5262a
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Wed May 30 07:57:22 2018 -0700
Fix various typos
---
ReleaseNotes | 2 +-
scripts/test/appveyor-irc-notify.py | 2 +-
src/common/crypto_rand.h | 2 +-
src/test/test_controller.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ReleaseNotes b/ReleaseNotes
index d36f87eea..5db488592 100644
--- a/ReleaseNotes
+++ b/ReleaseNotes
@@ -529,7 +529,7 @@ Changes in version 0.3.3.6 - 2018-05-22
would call the Rust implementation of
protover_get_supported_protocols(). This was due to the C version
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
bug 25127; bugfix on 0.3.2.1-alpha.
diff --git a/scripts/test/appveyor-irc-notify.py b/scripts/test/appveyor-irc-notify.py
index 44ef4c96f..4ffea5268 100644
--- a/scripts/test/appveyor-irc-notify.py
+++ b/scripts/test/appveyor-irc-notify.py
@@ -169,7 +169,7 @@ def notify():
response = line.split()
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':
irc_sock.send('NICK {}\r\n'.format(irc_nick).encode())
diff --git a/src/common/crypto_rand.h b/src/common/crypto_rand.h
index 4eac94f57..bb02e5100 100644
--- a/src/common/crypto_rand.h
+++ b/src/common/crypto_rand.h
@@ -7,7 +7,7 @@
/**
* \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
diff --git a/src/test/test_controller.c b/src/test/test_controller.c
index 3b58a78e1..1a350f66c 100644
--- a/src/test/test_controller.c
+++ b/src/test/test_controller.c
@@ -1470,7 +1470,7 @@ test_download_status_bridge(void *arg)
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. */
static void
mock_tor_gettimeofday(struct timeval *timeval)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits