summaryrefslogtreecommitdiffstats
path: root/tests/test_client_tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_client_tree.c')
-rw-r--r--tests/test_client_tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_client_tree.c b/tests/test_client_tree.c
index 81076f8..e343234 100644
--- a/tests/test_client_tree.c
+++ b/tests/test_client_tree.c
@@ -120,7 +120,7 @@ void client_tree_print(struct client *c)
void client_tree_remove(struct client* ci)
{
- struct client** p_link;//указывает на left или right в родительском узле
+ struct client** p_link;//points to left or right in the parent node
if (!ci->up)
{
@@ -159,7 +159,7 @@ void client_tree_remove(struct client* ci)
{
struct client *lm;
lm = ci->right;
- while(lm->left) lm = lm->left; //поиск самого левого узла правого поддерева
+ while(lm->left) lm = lm->left; //find the leftmost node of the right subtree
if (lm != ci->right)
{