From: pcaulfield@sourceware.org <pcaulfield@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/cman/tests libtest.c
Date: 11 Aug 2006 10:53:48 -0000 [thread overview]
Message-ID: <20060811105348.29013.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: pcaulfield at sourceware.org 2006-08-11 10:53:48
Modified files:
cman/tests : libtest.c
Log message:
Set a good example by checking return values.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/tests/libtest.c.diff?cvsroot=cluster&r1=1.3&r2=1.4
--- cluster/cman/tests/libtest.c 2006/04/06 12:11:50 1.3
+++ cluster/cman/tests/libtest.c 2006/08/11 10:53:48 1.4
@@ -87,7 +87,10 @@
perror("get_node failed");
}
- cman_start_notification(h, cman_callback);
+ if (!cman_start_notification(h, cman_callback))
+ {
+ perror("start_notification");
+ }
while (1) {
int ret = cman_dispatch(h, CMAN_DISPATCH_BLOCKING | CMAN_DISPATCH_ALL);
if (ret == -1) {
next reply other threads:[~2006-08-11 10:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-11 10:53 pcaulfield [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-08-17 14:30 [Cluster-devel] cluster/cman/tests libtest.c pcaulfield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060811105348.29013.qmail@sourceware.org \
--to=pcaulfield@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).