Skip to content
Snippets Groups Projects
Commit 5fedba52 authored by alexander.lysikov's avatar alexander.lysikov
Browse files

fixed potential bug

parent 91d2c7ae
No related branches found
No related tags found
1 merge request!41Feature 3600
...@@ -230,7 +230,7 @@ static void s_http_simple_proc(dap_http_simple_t *a_http_simple, void *a_arg) ...@@ -230,7 +230,7 @@ static void s_http_simple_proc(dap_http_simple_t *a_http_simple, void *a_arg)
} }
} }
int8_t l_client_continent = dap_chain_net_srv_order_continent_to_num(l_geoip_info->continent); int8_t l_client_continent = l_geoip_info ? dap_chain_net_srv_order_continent_to_num(l_geoip_info->continent) : 0;
// random node on client's continent // random node on client's continent
if (l_client_continent) { if (l_client_continent) {
int l_count = 0; int l_count = 0;
......
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