diff --git a/src/common/compat.c b/src/common/compat.c index f6fdda6e0a..5f8f35d752 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -137,7 +137,7 @@ tor_vsnprintf(char *str, size_t size, const char *format, va_list args) } /** Given hlen bytes at haystack and nlen bytes at - * needle, return a pointer to the first occurence of the needle + * needle, return a pointer to the first occurrence of the needle * within the haystack, or NULL if there is no such occurrence. * * Requires that nlen be greater than zero.