Date: Thu, 27 Oct 2011 16:22:18 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r226842 - head/sbin/hastd Message-ID: <201110271622.p9RGMIUQ014656@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pjd Date: Thu Oct 27 16:22:17 2011 New Revision: 226842 URL: http://svn.freebsd.org/changeset/base/226842 Log: Correct comments. MFC after: 3 days Modified: head/sbin/hastd/secondary.c Modified: head/sbin/hastd/secondary.c ============================================================================== --- head/sbin/hastd/secondary.c Thu Oct 27 16:20:29 2011 (r226841) +++ head/sbin/hastd/secondary.c Thu Oct 27 16:22:17 2011 (r226842) @@ -280,13 +280,13 @@ init_remote(struct hast_resource *res, s 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)) { /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110271622.p9RGMIUQ014656>