Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cellframe-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
16
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
cellframe-sdk
Commits
1746405e
Commit
1746405e
authored
4 years ago
by
Dmitriy A. Gerasimov
Browse files
Options
Downloads
Patches
Plain Diff
[-] Commented out com_news
parent
480a389f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/net/dap_chain_node_cli.c
+2
-2
2 additions, 2 deletions
modules/net/dap_chain_node_cli.c
modules/net/include/dap_chain_node_cli_cmd.h
+1
-1
1 addition, 1 deletion
modules/net/include/dap_chain_node_cli_cmd.h
with
3 additions
and
3 deletions
modules/net/dap_chain_node_cli.c
+
2
−
2
View file @
1746405e
...
...
@@ -1013,8 +1013,8 @@ int dap_chain_node_cli_init(dap_config_t * g_config)
#ifndef _WIN32
// News
dap_chain_node_cli_cmd_item_create
(
"news"
,
com_news
,
NULL
,
"Add News for VPN clients. Language code is a text code like
\"
en
\"
,
\"
ru
\"
,
\"
fr
\"
"
,
"news [-text <news text> | -file <filename with news>] -lang <language code>
\n
"
);
//
dap_chain_node_cli_cmd_item_create("news", com_news, NULL, "Add News for VPN clients. Language code is a text code like \"en\", \"ru\", \"fr\"",
//
"news [-text <news text> | -file <filename with news>] -lang <language code> \n");
#endif
// create thread for waiting of clients
...
...
This diff is collapsed.
Click to expand it.
modules/net/include/dap_chain_node_cli_cmd.h
+
1
−
1
View file @
1746405e
...
...
@@ -135,7 +135,7 @@ int com_exit(int argc, char ** argv, void *arg_func, char **str_reply);
#ifndef _WIN32
// Add News for VPN clients
int
com_news
(
int
a_argc
,
char
**
a_argv
,
void
*
a_arg_func
,
char
**
a_str_reply
);
//
int com_news(int a_argc, char ** a_argv, void *a_arg_func, char **a_str_reply);
#endif
// vpn_client command
...
...
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