[vlc-devel] [PATCH 10/10] win32: fix spelling mistakes

Eric Engestrom eric at engestrom.ch
Sat Apr 2 16:50:40 CEST 2016


Signed-off-by: Eric Engestrom <eric at engestrom.ch>
---
 src/win32/rand.c    | 4 ++--
 src/win32/winsock.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/win32/rand.c b/src/win32/rand.c
index 948daea..1aeb656 100644
--- a/src/win32/rand.c
+++ b/src/win32/rand.c
@@ -100,8 +100,8 @@ void vlc_rand_bytes (void *buf, size_t len)
         PROV_RSA_FULL,          // Type of provider to acquire.
         CRYPT_VERIFYCONTEXT) )  // Flag values
     {
-        /* fill buffer with pseudo-random data, intial buffer content
-           is used as auxillary random seed */
+        /* fill buffer with pseudo-random data, initial buffer content
+           is used as auxiliary random seed */
         CryptGenRandom(hProv, len, buf);
         CryptReleaseContext(hProv, 0);
     }
diff --git a/src/win32/winsock.c b/src/win32/winsock.c
index 92822ae..cac83fd 100644
--- a/src/win32/winsock.c
+++ b/src/win32/winsock.c
@@ -28,7 +28,7 @@
 #if 0
 ssize_t vlc_sendmsg (int s, struct msghdr *hdr, int flags)
 {
-    /* WSASendMsg would be more straightforward, and would support ancilliary
+    /* WSASendMsg would be more straightforward, and would support ancillary
      * data, but it's not yet in mingw32. */
     if ((hdr->msg_iovlen > 100) || (hdr->msg_controllen > 0))
     {
@@ -50,7 +50,7 @@ ssize_t vlc_sendmsg (int s, struct msghdr *hdr, int flags)
 
 ssize_t vlc_recvmsg (int s, struct msghdr *hdr, int flags)
 {
-    /* WSARecvMsg would be more straightforward, and would support ancilliary
+    /* WSARecvMsg would be more straightforward, and would support ancillary
      * data, but it's not yet in mingw32. */
     if (hdr->msg_iovlen > 100)
     {
-- 
2.8.0



More information about the vlc-devel mailing list