public inbox for cluster-cvs@sourceware.org help / color / mirror / Atom feed
From: "Fabio M. Di Nitto" <fabbione@fedoraproject.org> To: cluster-cvs-relay@redhat.com Subject: cluster: master - libccs: fix yet another uint -> hdb_handle_t conversion Date: Tue, 07 Jul 2009 07:16:00 -0000 [thread overview] Message-ID: <20090707071611.99CC7120368@lists.fedorahosted.org> (raw) 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;
reply other threads:[~2009-07-07 7:16 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20090707071611.99CC7120368@lists.fedorahosted.org \ --to=fabbione@fedoraproject.org \ --cc=cluster-cvs-relay@redhat.com \ /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: linkBe 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 read-only IMAP folder(s) and NNTP newsgroup(s).