From 621edbafba74c2d6211bf81d54be8b1da8543d4e Mon Sep 17 00:00:00 2001 From: 0del <53461381+0del@users.noreply.github.com> Date: Tue, 2 Apr 2024 22:44:00 +0700 Subject: [PATCH] Rename redisassert to serverassert in comment (#142) Signed-off-by: 0del --- src/serverassert.c | 4 ++-- src/serverassert.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/serverassert.c b/src/serverassert.c index 9f7402e748..7d6ab8ed68 100644 --- a/src/serverassert.c +++ b/src/serverassert.c @@ -1,8 +1,8 @@ -/* redisassert.c -- Implement the default _serverAssert and _serverPanic which +/* serverassert.c -- Implement the default _serverAssert and _serverPanic which * simply print stack trace to standard error stream. * * This file is shared by those modules that try to print some logs about stack trace - * but don't have their own implementations of functions in redisassert.h. + * but don't have their own implementations of functions in serverassert.h. * * ---------------------------------------------------------------------------- * diff --git a/src/serverassert.h b/src/serverassert.h index a3f95da091..1cbc9fb6cf 100644 --- a/src/serverassert.h +++ b/src/serverassert.h @@ -1,4 +1,4 @@ -/* redisassert.h -- Drop in replacements assert.h that prints the stack trace +/* serverassert.h -- Drop in replacements assert.h that prints the stack trace * in the Redis logs. * * This file should be included instead of "assert.h" inside libraries used by