cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: pcaulfield@sourceware.org <pcaulfield@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/cman/lib libcman.c
Date: 5 Jan 2007 10:30:54 -0000	[thread overview]
Message-ID: <20070105103054.27020.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	pcaulfield at sourceware.org	2007-01-05 10:30:54

Modified files:
	cman/lib       : libcman.c 

Log message:
	Send correct length of quorum device name sent to cman.
	Thanks to simone.gotti at email.it for the patch

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/lib/libcman.c.diff?cvsroot=cluster&r1=1.32&r2=1.33

--- cluster/cman/lib/libcman.c	2006/12/19 10:55:00	1.32
+++ cluster/cman/lib/libcman.c	2007/01/05 10:30:53	1.33
@@ -1002,7 +1002,7 @@
 
 	memcpy(buf, &votes, sizeof(int));
 	strcpy(buf+sizeof(int), name);
-	return info_call(h, CMAN_CMD_REG_QUORUMDEV, buf, strlen(name)+sizeof(int), NULL, 0);
+	return info_call(h, CMAN_CMD_REG_QUORUMDEV, buf, strlen(name)+1+sizeof(int), NULL, 0);
 }
 
 int cman_unregister_quorum_device(cman_handle_t handle)



             reply	other threads:[~2007-01-05 10:30 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-05 10:30 pcaulfield [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-01-07 18:53 [Cluster-devel] cluster/cman/lib libcman.c lhh
2007-09-19 19:15 cfeist
2007-09-18 16:01 pcaulfield
2007-09-18 15:34 pcaulfield
2007-02-23  9:51 pcaulfield
2007-01-05 10:31 pcaulfield
2006-12-19 10:55 pcaulfield
2006-12-19 10:55 pcaulfield
2006-12-01 14:23 pcaulfield
2006-12-01 14:23 pcaulfield
2006-12-01 13:46 pcaulfield
2006-10-25 12:23 pcaulfield
2006-10-16 15:52 pcaulfield
2006-08-31 10:11 pcaulfield
2006-08-24 10:40 pcaulfield

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=20070105103054.27020.qmail@sourceware.org \
    --to=pcaulfield@sourceware.org \
    /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: link
Be 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 NNTP newsgroup(s).