mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-06 05:34:02 +00:00
Set the object value length too.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@965 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
0865007a34
commit
0fcbd1e12c
@ -291,6 +291,7 @@ static int object_key_create (
|
||||
memcpy (object_key->value, value, value_len);
|
||||
|
||||
object_key->key_len = key_len;
|
||||
object_key->value_len = value_len;
|
||||
|
||||
list_init (&object_key->list);
|
||||
list_add (&object_key->list, &instance->key_head);
|
||||
|
Loading…
Reference in New Issue
Block a user