Skip to content
Snippets Groups Projects
Commit f843ed78 authored by Dmitriy A. Gerasimov's avatar Dmitriy A. Gerasimov
Browse files

[+] New unit DAY

[*] Fixed erros in dump
parent e8b12880
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,8 @@ enum {
//Units of service
enum {
SERV_UNIT_MB = 1, // megabytes
SERV_UNIT_SEC = 2 // seconds
SERV_UNIT_SEC = 2, // seconds
SERV_UNIT_DAY = 3 // days
};
typedef struct dap_chain_net_srv_abstract
......
......@@ -102,8 +102,8 @@ void dap_chain_net_srv_order_dump_to_string(dap_chain_net_srv_order_t *a_order,d
DAP_STATIC_INLINE char * dap_chain_net_srv_order_get_gdb_group(dap_chain_net_t * a_net)
{
if ( a_net ) {
const char c_srv_order_group_str[]="srv_order";
return dap_strdup_printf("%s-%s",a_net->pub.gdb_groups_prefix,c_srv_order_group_str);
const char c_srv_order_group_str[]="service.orders";
return dap_strdup_printf("%s.%s",a_net->pub.gdb_groups_prefix,c_srv_order_group_str);
}
return NULL;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment