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

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=6d04c956635a0af1ac96d23ecc93806c1e4acd79
Commit:        6d04c956635a0af1ac96d23ecc93806c1e4acd79
Parent:        2de0b6f3459f0d0600c5a82b544f59ce1cde89db
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:15:58 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 c7e67db..e068358 100644
--- a/config/libs/libccsconfdb/libccs.c
+++ b/config/libs/libccsconfdb/libccs.c
@@ -327,7 +327,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",
@@ -377,11 +378,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:16 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:16 cluster: master - 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).