public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - libccs: fix yet another uint -> hdb_handle_t conversion
@ 2009-07-07  7:15 Fabio M. Di Nitto
  0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-07-07  7:15 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=158affb03150143e5561c9b8a5a3cc89865d3652
Commit:        158affb03150143e5561c9b8a5a3cc89865d3652
Parent:        457eaf5565e2804d3c6e367e7256c23752debcef
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Tue Jul 7 09:13:53 2009 +0200
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Tue Jul 7 09:13:53 2009 +0200

libccs: fix yet another uint -> hdb_handle_t conversion

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

diff --git a/config/libs/libccsconfdb/libccs.c b/config/libs/libccsconfdb/libccs.c
index 1d62b4b..6dc09a5 100644
--- a/config/libs/libccsconfdb/libccs.c
+++ b/config/libs/libccsconfdb/libccs.c
@@ -325,7 +325,8 @@ int set_previous_query(confdb_handle_t handle, hdb_handle_t connection_handle,
 {
 	char temp[PATH_MAX];
 	size_t templen = 0;
-	unsigned int temphandle;
+	hdb_handle_t temphandle;
+	unsigned int temptracker;
 
 	if (confdb_key_get
 	    (handle, connection_handle, "previous_query",
@@ -375,11 +376,11 @@ int set_previous_query(confdb_handle_t handle, hdb_handle_t connection_handle,
 
 	if (confdb_key_get
 	    (handle, connection_handle, "iterator_tracker",
-	     strlen("iterator_tracker"), &temphandle, &templen) != CS_OK) {
-		temphandle = 1;
+	     strlen("iterator_tracker"), &temptracker, &templen) != CS_OK) {
+		temptracker = 1;
 		if (confdb_key_create
 		    (handle, connection_handle, "iterator_tracker",
-		     strlen("iterator_tracker"), &temphandle,
+		     strlen("iterator_tracker"), &temptracker,
 		     sizeof(unsigned int)) != CS_OK) {
 			errno = ENOMEM;
 			return -1;


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

only message in thread, other threads:[~2009-07-07  7:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-07  7:15 cluster: STABLE3 - libccs: fix yet another uint -> hdb_handle_t conversion 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).