From 1da361e295539cd359ccca864c479cd38ed5dc76 Mon Sep 17 00:00:00 2001 From: Guy Korland Date: Thu, 20 Jun 2019 19:59:00 +0300 Subject: [PATCH] fix tests file and remove the string parsing --- rmutil/alloc.c | 4 ++-- rmutil/alloc.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rmutil/alloc.c b/rmutil/alloc.c index 27f8ef1..6eee805 100644 --- a/rmutil/alloc.c +++ b/rmutil/alloc.c @@ -14,8 +14,8 @@ char *rmalloc_strndup(const char *s, size_t n) { /* * Re-patching RedisModule_Alloc and friends to the original malloc functions * - * This function shold be called if you are working with malloc-patched code - * ouside of redis, usually for unit tests. Call it once when entering your unit + * This function should be called if you are working with malloc-patched code + * outside of redis, usually for unit tests. Call it once when entering your unit * tests' main(). * * Since including "alloc.h" while defining REDIS_MODULE_TARGET diff --git a/rmutil/alloc.h b/rmutil/alloc.h index 5e91652..050ff72 100644 --- a/rmutil/alloc.h +++ b/rmutil/alloc.h @@ -43,8 +43,8 @@ char *rmalloc_strndup(const char *s, size_t n); #else #endif /* REDIS_MODULE_TARGET */ -/* This function shold be called if you are working with malloc-patched code - * ouside of redis, usually for unit tests. Call it once when entering your unit +/* This function should be called if you are working with malloc-patched code + * outside of redis, usually for unit tests. Call it once when entering your unit * tests' main() */ void RMUTil_InitAlloc();