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
FS-ELAB
pilc2server_old
Commits
1b45aa19
Commit
1b45aa19
authored
Jan 24, 2022
by
Joshua Supra
Browse files
solved segmentation fault
parent
73f9ddec
Changes
2
Hide whitespace changes
Inline
Side-by-side
pilc2_functions/libpilc2.a
View file @
1b45aa19
No preview for this file type
pilc2_functions/pilc2_network.c
View file @
1b45aa19
...
...
@@ -64,7 +64,7 @@ int FunctionCall(zmq_data *zmq_data_struct){
FunctionNumber
=
zmq_data_struct
->
data
[
1
];
//printf("bytes: %d\n", zmq_data_struct->NrOfBytes);
//printf("func nr: %.8x\n", FunctionNumber);
zmq_data_struct
->
data
+=
4
;
//
zmq_data_struct->data +=4;
for
(
int
i
=
0
;
i
<
((
zmq_data_struct
->
NrOfBytes
)
>>
2
)
-
2
;
i
++
){
funcArg
[
i
]
=
*
(
unsigned
int
*
)
zmq_data_struct
->
data
;
//printf("%d ", funcArg[i]);
...
...
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