Rename redisassert to serverassert in comment (#142)

Signed-off-by: 0del <bany.y0599@gmail.com>
This commit is contained in:
0del 2024-04-02 22:44:00 +07:00 committed by GitHub
parent a1516d53de
commit 621edbafba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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.
*
* ----------------------------------------------------------------------------
*

View File

@ -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