get level 0 for the first master

get level 0 for the first master
This commit is contained in:
MassimilianoPinto
2014-06-18 18:57:09 +02:00
parent 1b6a5efb64
commit 2a1688bb3d

View File

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