Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
celllframe-node
Manage
Activity
Members
Labels
Plan
Issues
5
Issue boards
Milestones
Code
Merge requests
24
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
celllframe-node
Commits
e575d4c1
Commit
e575d4c1
authored
5 years ago
by
alexander.lysikov
Browse files
Options
Downloads
Patches
Plain Diff
changed load modules order
parent
55f2d3e0
No related branches found
No related tags found
1 merge request
!52
changed load modules order
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sources/main.c
+5
-4
5 additions, 4 deletions
sources/main.c
with
5 additions
and
4 deletions
sources/main.c
+
5
−
4
View file @
e575d4c1
...
...
@@ -227,6 +227,7 @@ int main( int argc, const char **argv )
return
-
58
;
}
dap_chain_net_load_all
();
dap_client_init
();
dap_http_client_simple_init
(
);
...
...
@@ -416,7 +417,7 @@ int main( int argc, const char **argv )
dap_stream_ch_chain_init
(
);
dap_stream_ch_chain_net_init
(
);
///
dap_stream_ch_chain_net_srv_init();
dap_stream_ch_chain_net_srv_init
();
// New event loop init
dap_events_init
(
0
,
0
);
...
...
@@ -427,7 +428,7 @@ int main( int argc, const char **argv )
/// dap_stream_ch_vpn_deinit();
dap_chain_net_load_all
();
//
dap_chain_net_load_all();
#ifdef DAP_OS_LINUX
#ifndef __ANDROID__
...
...
@@ -486,7 +487,7 @@ void parse_args( int argc, const char **argv ) {
if
(
pid
==
0
)
{
log_it
(
L_ERROR
,
"Can't read pid from file"
);
exit
(
-
20
);
}
}
if
(
kill_process
(
pid
)
)
{
log_it
(
L_INFO
,
"Server successfully stopped"
);
...
...
@@ -497,7 +498,7 @@ void parse_args( int argc, const char **argv ) {
exit
(
-
21
);
}
case
'D'
:
case
'D'
:
{
log_it
(
L_INFO
,
"Daemonize server starting..."
);
exit_if_server_already_running
(
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment