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
Nikhil
codes
Commits
7ebd166f
Commit
7ebd166f
authored
May 27, 2014
by
Philip Carns
Browse files
bugfix for use of unset fields in reverse handler
parent
debe34c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/models/networks/model-net/model-net-sched.c
View file @
7ebd166f
...
...
@@ -163,6 +163,8 @@ void fcfs_add (
model_net_sched_rc
*
rc
,
tw_lp
*
lp
){
mn_sched_qitem
*
q
=
malloc
(
sizeof
(
mn_sched_qitem
));
assert
(
q
);
memset
(
q
,
0
,
sizeof
(
*
q
));
q
->
req
=
*
req
;
q
->
rem
=
req
->
is_pull
?
PULL_MSG_SIZE
:
req
->
msg_size
;
if
(
remote_event_size
>
0
){
...
...
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