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
sds
bake
Commits
e1fbfc17
Commit
e1fbfc17
authored
Nov 18, 2020
by
Matthieu Dorier
Browse files
fixed daemon to comply with margo@develop
parent
a15f7b85
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bake-server-daemon.c
View file @
e1fbfc17
...
...
@@ -224,7 +224,15 @@ int main(int argc, char **argv)
/* start margo */
mochi_cfg_get_object
(
cfg
,
"margo"
,
&
margo_cfg
);
cfg_str
=
mochi_cfg_emit
(
margo_cfg
,
"margo"
);
mid
=
margo_init_json
(
cfg_str
);
struct
margo_init_info
mid_info
=
{
.
json_config
=
cfg_str
,
.
progress_pool
=
ABT_POOL_NULL
,
.
rpc_pool
=
ABT_POOL_NULL
,
.
hg_class
=
NULL
,
.
hg_context
=
NULL
,
.
hg_init_info
=
NULL
};
mid
=
margo_init_ext
(
opts
.
listen_addr_str
,
MARGO_SERVER_MODE
,
&
mid_info
);
if
(
mid
==
MARGO_INSTANCE_NULL
)
{
fprintf
(
stderr
,
"Error: margo_init()
\n
"
);
...
...
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