Correct comments.

MFC after:	3 days
This commit is contained in:
Pawel Jakub Dawidek 2011-10-27 16:22:17 +00:00
parent 8e2eadb208
commit 982369192e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226842

View File

@ -280,13 +280,13 @@ init_remote(struct hast_resource *res, struct nv *nvin)
nv_free(nvout);
exit(EX_CONFIG);
} else if (
/* Is primary is out-of-date? */
/* Is primary out-of-date? */
(res->hr_secondary_localcnt > res->hr_primary_remotecnt &&
res->hr_secondary_remotecnt == res->hr_primary_localcnt) ||
/* Nodes are more or less in sync? */
/* Are the nodes more or less in sync? */
(res->hr_secondary_localcnt == res->hr_primary_remotecnt &&
res->hr_secondary_remotecnt == res->hr_primary_localcnt) ||
/* Is secondary is out-of-date? */
/* Is secondary out-of-date? */
(res->hr_secondary_localcnt == res->hr_primary_remotecnt &&
res->hr_secondary_remotecnt < res->hr_primary_localcnt)) {
/*