Skip to content
Snippets Groups Projects
Commit 33ea97a2 authored by Aleksandr Lysikov's avatar Aleksandr Lysikov
Browse files

fix small warning

parent 4a94dc64
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include "dap_common.h" #include "dap_common.h"
#include "dap_config.h" #include "dap_config.h"
#include "dap_events.h" #include "dap_events.h"
#include "dap_chain_node.h"
#include "dap_client_pvt.h" #include "dap_client_pvt.h"
#include "dap_http_client_simple.h" #include "dap_http_client_simple.h"
#include "client_mempool.h" #include "client_mempool.h"
...@@ -17,9 +18,11 @@ ...@@ -17,9 +18,11 @@
static int listen_port_tcp = 8079; static int listen_port_tcp = 8079;
// send request to server
static int client_mempool_send_request(client_mempool_t *mempool, dap_datum_mempool_t *datum_mempool, static int client_mempool_send_request(client_mempool_t *mempool, dap_datum_mempool_t *datum_mempool,
const char *action, bool is_last_req); const char *action, bool is_last_req);
// callback for dap_client_new() in client_mempool_connect() // callback for dap_client_new() in client_mempool_connect()
static void stage_status_callback(dap_client_t *a_client, void *a_arg) static void stage_status_callback(dap_client_t *a_client, void *a_arg)
{ {
......
...@@ -17,7 +17,7 @@ enum { ...@@ -17,7 +17,7 @@ enum {
}; };
// state for a client connection with mempool // state for a client connection with mempool
typedef struct client_mempool_t { typedef struct client_mempool {
int state; int state;
dap_events_t *a_events; dap_events_t *a_events;
dap_client_t *a_client; dap_client_t *a_client;
......
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