From owner-svn-src-all@FreeBSD.ORG Thu Oct 27 16:22:18 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 455B8106564A; Thu, 27 Oct 2011 16:22:18 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3521A8FC0A; Thu, 27 Oct 2011 16:22:18 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p9RGMILw014658; Thu, 27 Oct 2011 16:22:18 GMT (envelope-from pjd@svn.freebsd.org) Received: (from pjd@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p9RGMIUQ014656; Thu, 27 Oct 2011 16:22:18 GMT (envelope-from pjd@svn.freebsd.org) Message-Id: <201110271622.p9RGMIUQ014656@svn.freebsd.org> From: Pawel Jakub Dawidek Date: Thu, 27 Oct 2011 16:22:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r226842 - head/sbin/hastd X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2011 16:22:18 -0000 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)) { /*