Skip to content

Commit

Permalink
Rename redisassert to serverassert in comment (#142)
Browse files Browse the repository at this point in the history
Signed-off-by: 0del <bany.y0599@gmail.com>
  • Loading branch information
9bany authored Apr 2, 2024
1 parent a1516d5 commit 621edba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/serverassert.c
Original file line number Diff line number Diff line change
@@ -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.
*
* ----------------------------------------------------------------------------
*
Expand Down
2 changes: 1 addition & 1 deletion src/serverassert.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 621edba

Please sign in to comment.