public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: master - libccs: small cleanup
@ 2009-03-06 20:42 Fabio M. Di Nitto
  0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-03-06 20:42 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=cb090466d8a115469a2e0c1df797a23d89857f41
Commit:        cb090466d8a115469a2e0c1df797a23d89857f41
Parent:        a924b0972ff281c8a22a1f7d01755c01ea750e4a
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Fri Mar 6 21:15:40 2009 +0100
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Fri Mar 6 21:41:33 2009 +0100

libccs: small cleanup

CONFDB_OK == CS_OK but we use CS_OK all over. Just make the code easier
to read.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 config/libs/libccsconfdb/libccs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/config/libs/libccsconfdb/libccs.c b/config/libs/libccsconfdb/libccs.c
index 58e0531..0eb33de 100644
--- a/config/libs/libccsconfdb/libccs.c
+++ b/config/libs/libccsconfdb/libccs.c
@@ -43,7 +43,7 @@ static confdb_handle_t confdb_connect(void)
 
 static int confdb_disconnect(confdb_handle_t handle)
 {
-	if (confdb_finalize(handle) != CONFDB_OK) {
+	if (confdb_finalize(handle) != CS_OK) {
 		errno = EINVAL;
 		return -1;
 	}


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-06 20:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-06 20:42 cluster: master - libccs: small cleanup Fabio M. Di Nitto

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 read-only IMAP folder(s) and NNTP newsgroup(s).