[Cluster-devel] conga/ricci/modules/cluster/clumon/src/daemon ...
CVSROOT: /cvs/cluster
Module name: conga Branch: RHEL4 Changes by: rmccabe@sourceware.org 2007-11-21 17:39:39 Modified files: ricci/modules/cluster/clumon/src/daemon: Monitor.cpp Log message: Fix obvious error Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/daemon/Monitor.cpp.diff?cvsroot=cluster&only_with_tag=RHE L4&r1=1.13.2.2&r2=1.13.2.3 --- conga/ricci/modules/cluster/clumon/src/daemon/Monitor.cpp 2007/10/10 18:10:37 1.13.2.2 +++ conga/ricci/modules/cluster/clumon/src/daemon/Monitor.cpp 2007/11/21 17:39:39 1.13.2.3 @@ -811,10 +811,8 @@ String ret; cman_handle_t ch = cman_init(NULL); - if (ch == NULL) { - cman_finish(ch); + if (ch == NULL) throw String("quorum not found"); - } if (cman_is_quorate(ch)) ret = "Quorate"; |
[Cluster-devel] conga/ricci/modules/cluster/clumon/src/daemon ...
CVSROOT: /cvs/cluster
Module name: conga Changes by: rmccabe@sourceware.org 2007-11-21 17:41:21 Modified files: ricci/modules/cluster/clumon/src/daemon: Monitor.cpp Log message: Fix obvious error Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/daemon/Monitor.cpp.diff?cvsroot=cluster&r1=1.19&r2=1.20 --- conga/ricci/modules/cluster/clumon/src/daemon/Monitor.cpp 2007/10/09 19:58:30 1.19 +++ conga/ricci/modules/cluster/clumon/src/daemon/Monitor.cpp 2007/11/21 17:41:21 1.20 @@ -811,10 +811,8 @@ String ret; cman_handle_t ch = cman_init(NULL); - if (ch == NULL) { - cman_finish(ch); + if (ch == NULL) throw String("quorum not found"); - } if (cman_is_quorate(ch)) ret = "Quorate"; |
[Cluster-devel] conga/ricci/modules/cluster/clumon/src/daemon ...
CVSROOT: /cvs/cluster
Module name: conga Branch: RHEL5 Changes by: rmccabe@sourceware.org 2007-11-21 17:42:36 Modified files: ricci/modules/cluster/clumon/src/daemon: Monitor.cpp Log message: Fix obvious error Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/daemon/Monitor.cpp.diff?cvsroot=cluster&only_with_tag=RHE L5&r1=1.10.2.5&r2=1.10.2.6 --- conga/ricci/modules/cluster/clumon/src/daemon/Monitor.cpp 2007/10/22 19:32:07 1.10.2.5 +++ conga/ricci/modules/cluster/clumon/src/daemon/Monitor.cpp 2007/11/21 17:42:36 1.10.2.6 @@ -811,10 +811,8 @@ String ret; cman_handle_t ch = cman_init(NULL); - if (ch == NULL) { - cman_finish(ch); + if (ch == NULL) throw String("quorum not found"); - } if (cman_is_quorate(ch)) ret = "Quorate"; |
| All times are GMT. The time now is 09:56 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.