Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
8e6eaec9
Commit
8e6eaec9
authored
Oct 19, 2012
by
Uwe Schulzweida
Browse files
vlistCopyFlag: copy ensdata (bug fix)
parent
58a9e951
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/vlist.c
View file @
8e6eaec9
...
...
@@ -510,8 +510,8 @@ void vlistCopyFlag(int vlistID2, int vlistID1)
if
(
vlistptr1
->
vars
[
varID
].
ensdata
)
{
vlistptr2
->
vars
[
varID
].
ensdata
=
(
ensinfo_t
*
)
malloc
(
sizeof
(
ensinfo_t
));
memcpy
(
vlistptr2
->
vars
[
varID
].
ensdata
,
vlistptr2
->
vars
[
varID
2
].
ensdata
=
(
ensinfo_t
*
)
malloc
(
sizeof
(
ensinfo_t
));
memcpy
(
vlistptr2
->
vars
[
varID
2
].
ensdata
,
vlistptr1
->
vars
[
varID
].
ensdata
,
sizeof
(
ensinfo_t
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment