[pve-devel] r5898 - in pve-cluster/trunk/data: . src
svn-commits at proxmox.com
svn-commits at proxmox.com
Wed May 4 11:44:01 CEST 2011
Author: dietmar
Date: 2011-05-04 11:44:01 +0200 (Wed, 04 May 2011)
New Revision: 5898
Modified:
pve-cluster/trunk/data/ChangeLog
pve-cluster/trunk/data/src/status.c
Log:
use correct data
pointer
Modified: pve-cluster/trunk/data/ChangeLog
===================================================================
--- pve-cluster/trunk/data/ChangeLog 2011-05-04 06:50:48 UTC (rev 5897)
+++ pve-cluster/trunk/data/ChangeLog 2011-05-04 09:44:01 UTC (rev 5898)
@@ -1,3 +1,8 @@
+2011-05-04 Proxmox Support Team <support at proxmox.com>
+
+ * src/status.c (kvstore_send_update_message): use correct data
+ pointer (data instead of &data)
+
2011-03-17 Proxmox Support Team <support at proxmox.com>
* perl/Cluster.pm (get_nodelist): simply return an array of node
Modified: pve-cluster/trunk/data/src/status.c
===================================================================
--- pve-cluster/trunk/data/src/status.c 2011-05-04 06:50:48 UTC (rev 5897)
+++ pve-cluster/trunk/data/src/status.c 2011-05-04 09:44:01 UTC (rev 5898)
@@ -1117,7 +1117,7 @@
iov[0].iov_base = &name;
iov[0].iov_len = sizeof(name);
- iov[1].iov_base = (char *)&data;
+ iov[1].iov_base = (char *)data;
iov[1].iov_len = len;
if (dfsm_send_message(dfsm, KVSTORE_MESSAGE_UPDATE, iov, 2) == CS_OK)
@@ -1269,7 +1269,7 @@
}
g_static_mutex_unlock (&mutex);
- if (cfs_status.kvstore)
+ if (cfs_status.kvstore)
kvstore_send_update_message(cfs_status.kvstore, key, data, len);
return res ? 0 : -ENOMEM;
More information about the pve-devel
mailing list