Hi,

This patch fixes 2 typos in the code comments of the xxhash subsystem.

The patch is attached, but if you want to view the diff online, you
can check: 
https://github.com/haproxy/haproxy/compare/master...aerostitch:cleanup_xxhash_typos

Thanks,
Joseph
From 9f432a7ed11f7c84bd0d3f072749e13eaaee3a8c Mon Sep 17 00:00:00 2001
From: Joseph Herlant <aerosti...@debian.org>
Date: Thu, 15 Nov 2018 09:30:49 -0800
Subject: [PATCH] CLEANUP: fix 2 typos in the xxhash subsystem

Fixes 2 typos in the comments of the xxhash subsystem.
---
 src/xxhash.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xxhash.c b/src/xxhash.c
index 5702e64f..8753721a 100644
--- a/src/xxhash.c
+++ b/src/xxhash.c
@@ -51,10 +51,10 @@ You can contact the author at :
 // #define XXH_ACCEPT_NULL_INPUT_POINTER 1
 
 // XXH_FORCE_NATIVE_FORMAT :
-// By default, xxHash library provides endian-independant Hash values, based on little-endian convention.
+// By default, xxHash library provides endian-independent Hash values, based on little-endian convention.
 // Results are therefore identical for little-endian and big-endian CPU.
 // This comes at a performance cost for big-endian CPU, since some swapping is required to emulate little-endian format.
-// Should endian-independance be of no importance for your application, you may set the #define below to 1.
+// Should endian-independence be of no importance for your application, you may set the #define below to 1.
 // It will improve speed for Big-endian CPU.
 // This option has no impact on Little_Endian CPU.
 #define XXH_FORCE_NATIVE_FORMAT 0
-- 
2.19.1

Reply via email to