Skip to content

Commit

Permalink
Linux compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
jonano614 committed Dec 7, 2018
1 parent cd553ed commit ed53eea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions client/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ sources = \
time.c \
math.c \
xdag_config.c \
global.c \
$(dnet)/dnet_crypt.c \
$(dnet)/dnet_xdag.c \
$(dfslib)/dfslib_crypt.c \
Expand Down Expand Up @@ -93,6 +94,7 @@ headers = \
time.h \
math.h \
xdag_config.h \
global.h \
$(dnet)/dnet_crypt.h \
$(dnet)/dnet_history.h \
$(dnet)/dnet_main.h \
Expand Down
5 changes: 4 additions & 1 deletion client/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ int xdag_init(int argc, char **argv, int isGui)
xdag_show_state(0);

struct startup_parameters parameters;
parse_startup_parameters(argc, argv, &parameters);
int res = parse_startup_parameters(argc, argv, &parameters);
if(res <= 0) {
return res;
}

if(pre_init() < 0) {
return -1;
Expand Down

0 comments on commit ed53eea

Please sign in to comment.