Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Robotlab
firefly
Commits
4666748e
Commit
4666748e
authored
Apr 03, 2014
by
Tommy Olofsson
Browse files
Last fix broke tests on linux. (As assumed.)
parent
439c0067
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/transport/firefly_transport_udp_posix.c
View file @
4666748e
...
...
@@ -462,9 +462,12 @@ void firefly_transport_udp_posix_read(struct firefly_transport_llp *llp)
if
(
res
==
-
1
)
{
FFL
(
FIREFLY_ERROR_SOCKET
);
pkg_len
=
0
;
}
else
{
pkg_len
-=
16
;
/* vx bugtest */
}
#ifdef LABCOMM_COMPAT
else
{
pkg_len
-=
16
;
/* VxWorks seem to return "raw" length. */
}
#endif
ev_arg
=
malloc
(
sizeof
(
*
ev_arg
));
if
(
!
ev_arg
)
{
FFL
(
FIREFLY_ERROR_ALLOC
);
...
...
tools/labComm.jar
View file @
4666748e
No preview for this file type
Write
Preview
Supports
Markdown
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