Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
38
Issues
38
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
codes
codes
Commits
f287df62
Commit
f287df62
authored
Jul 06, 2018
by
Neil McGlohon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dragonfly Custom: wrong size calloc fix
parent
658bb5fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/networks/model-net/dragonfly-custom.C
src/networks/model-net/dragonfly-custom.C
+1
-1
No files found.
src/networks/model-net/dragonfly-custom.C
View file @
f287df62
...
...
@@ -1110,7 +1110,7 @@ void router_custom_setup(router_state * r, tw_lp * lp)
r
->
queued_msgs_tail
=
(
terminal_custom_message_list
***
)
calloc
(
p
->
radix
,
sizeof
(
terminal_custom_message_list
**
));
r
->
queued_count
=
(
int
*
)
calloc
(
p
->
radix
,
sizeof
(
int
));
r
->
last_buf_full
=
(
tw_stime
*
)
calloc
(
p
->
radix
,
sizeof
(
tw_stime
*
));
r
->
last_buf_full
=
(
tw_stime
*
)
calloc
(
p
->
radix
,
sizeof
(
tw_stime
));
r
->
busy_time
=
(
tw_stime
*
)
calloc
(
p
->
radix
,
sizeof
(
tw_stime
));
r
->
busy_time_sample
=
(
tw_stime
*
)
calloc
(
p
->
radix
,
sizeof
(
tw_stime
));
...
...
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