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

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=de15cf9ba4c66ff2c6167cf6a77f754fe3f4d0cd
Commit:        de15cf9ba4c66ff2c6167cf6a77f754fe3f4d0cd
Parent:        56c2ba92e4b488abbf6834702fa5f6d85d507c8c
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:15:40 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:16 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:16 cluster: STABLE3 - 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).