Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Elsa Gonsiorowski
codes
Commits
39d64a99
Commit
39d64a99
authored
Jun 13, 2014
by
Jonathan Jenkins
Browse files
Bad memcpy offset for resource lp
parent
626cebb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/util/resource-lp.c
View file @
39d64a99
...
...
@@ -151,7 +151,7 @@ static void resource_response(
memcpy
(((
char
*
)
msg
)
+
m
->
i
.
msg_header_offset
,
&
h
,
sizeof
(
h
));
memcpy
(((
char
*
)
msg
)
+
m
->
i
.
msg_callback_offset
,
&
c
,
sizeof
(
c
));
if
(
m
->
i
.
msg_callback_misc_size
>
0
){
memcpy
(((
char
*
)
msg
)
+
m
->
i
.
msg_callback_offset
,
memcpy
(((
char
*
)
msg
)
+
m
->
i
.
msg_callback_
misc_
offset
,
m
->
i
.
msg_callback_misc
,
m
->
i
.
msg_callback_misc_size
);
}
tw_event_send
(
e
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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