get level 0 for the first master
get level 0 for the first master
This commit is contained in:
@ -749,10 +749,7 @@ MONITOR_SERVERS *ptr;
|
|||||||
current->depth = depth + 1;
|
current->depth = depth + 1;
|
||||||
depth++;
|
depth++;
|
||||||
} else {
|
} else {
|
||||||
if (depth == 0)
|
current->depth = depth - 1;
|
||||||
current->depth = -1;
|
|
||||||
else
|
|
||||||
current->depth = depth;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user