Browse Source

Fix various typos

Nick Mathewson 5 years ago
parent
commit
d7bbfd0f62
4 changed files with 4 additions and 4 deletions
  1. 1 1
      ReleaseNotes
  2. 1 1
      scripts/test/appveyor-irc-notify.py
  3. 1 1
      src/common/crypto_rand.h
  4. 1 1
      src/test/test_controller.c

+ 1 - 1
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.
 

+ 1 - 1
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())

+ 1 - 1
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

+ 1 - 1
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)