fix tests file and remove the string parsing

master
Guy Korland 5 years ago
parent 79679f66a5
commit 1da361e295

@ -14,8 +14,8 @@ char *rmalloc_strndup(const char *s, size_t n) {
/* /*
* Re-patching RedisModule_Alloc and friends to the original malloc functions * Re-patching RedisModule_Alloc and friends to the original malloc functions
* *
* This function shold be called if you are working with malloc-patched code * This function should be called if you are working with malloc-patched code
* ouside of redis, usually for unit tests. Call it once when entering your unit * outside of redis, usually for unit tests. Call it once when entering your unit
* tests' main(). * tests' main().
* *
* Since including "alloc.h" while defining REDIS_MODULE_TARGET * Since including "alloc.h" while defining REDIS_MODULE_TARGET

@ -43,8 +43,8 @@ char *rmalloc_strndup(const char *s, size_t n);
#else #else
#endif /* REDIS_MODULE_TARGET */ #endif /* REDIS_MODULE_TARGET */
/* This function shold be called if you are working with malloc-patched code /* This function should be called if you are working with malloc-patched code
* ouside of redis, usually for unit tests. Call it once when entering your unit * outside of redis, usually for unit tests. Call it once when entering your unit
* tests' main() */ * tests' main() */
void RMUTil_InitAlloc(); void RMUTil_InitAlloc();

Loading…
Cancel
Save