diff --git a/src/rax.c b/src/rax.c index c8a1fb6b4..0ca915746 100644 --- a/src/rax.c +++ b/src/rax.c @@ -554,7 +554,7 @@ int raxGenericInsert(rax *rax, unsigned char *s, size_t len, void *data, void ** * * Splitting a compressed node have a few possible cases. * Imagine that the node 'h' we are currently at is a compressed - * node contaning the string "ANNIBALE" (it means that it represents + * node containing the string "ANNIBALE" (it means that it represents * nodes A -> N -> N -> I -> B -> A -> L -> E with the only child * pointer of this node pointing at the 'E' node, because remember that * we have characters at the edges of the graph, not inside the nodes diff --git a/src/server.c b/src/server.c index 162dfa346..5a9d55c0c 100644 --- a/src/server.c +++ b/src/server.c @@ -1479,7 +1479,7 @@ void updateDictResizePolicy(void) { dictDisableResize(); } -/* Return true if there are no active children processes doing RDB saving, +/* Return true if there are active children processes doing RDB saving, * AOF rewriting, or some side process spawned by a loaded module. */ int hasActiveChildProcess() { return server.rdb_child_pid != -1 ||