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
codes
codes
Commits
8f702e82
Commit
8f702e82
authored
Aug 12, 2016
by
Jonathan Jenkins
Browse files
wrong flag in model_net_*event_annotated
parent
49e1749e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/networks/model-net/model-net.c
View file @
8f702e82
...
...
@@ -396,7 +396,7 @@ model_net_event_return model_net_event_annotated(
int
self_event_size
,
void
const
*
self_event
,
tw_lp
*
sender
){
struct
codes_mctx
mc
=
codes_mctx_set_group_modulo
(
annotation
,
tru
e
);
struct
codes_mctx
mc
=
codes_mctx_set_group_modulo
(
annotation
,
fals
e
);
return
model_net_event_impl_base
(
net_id
,
&
mc
,
&
mc
,
category
,
final_dest_lp
,
message_size
,
0
,
offset
,
remote_event_size
,
remote_event
,
self_event_size
,
self_event
,
sender
);
...
...
@@ -449,7 +449,7 @@ model_net_event_return model_net_pull_event_annotated(
tw_lp
*
sender
){
/* NOTE: for a pull, we are filling the *remote* event - it will be remote
* from the destination's POV */
struct
codes_mctx
mc
=
codes_mctx_set_group_modulo
(
annotation
,
tru
e
);
struct
codes_mctx
mc
=
codes_mctx_set_group_modulo
(
annotation
,
fals
e
);
return
model_net_event_impl_base
(
net_id
,
&
mc
,
&
mc
,
category
,
final_dest_lp
,
message_size
,
1
,
offset
,
self_event_size
,
self_event
,
0
,
NULL
,
sender
);
...
...
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