Skip to content
Snippets Groups Projects
Commit 303bbe88 authored by Roman Khlopkov's avatar Roman Khlopkov 🔜
Browse files

[*] DNS client improved

parent 5ac370e4
No related branches found
No related tags found
5 merge requests!251Master,!250Master,!162Bugs-4158,!159Bugs-4158,!156bugs-4158
Pipeline #3926 passed with stage
in 36 seconds
...@@ -401,9 +401,9 @@ int s_dns_get_ip(uint32_t a_addr, char *a_name, uint32_t *a_result) ...@@ -401,9 +401,9 @@ int s_dns_get_ip(uint32_t a_addr, char *a_name, uint32_t *a_result)
tv.tv_sec = 5; tv.tv_sec = 5;
tv.tv_usec = 0; tv.tv_usec = 0;
#ifdef WIN32 #ifdef WIN32
int l_selected = select(1, NULL, &fd, NULL, &tv); int l_selected = select(1, &fd, NULL, NULL, &tv);
#else #else
int l_selected = select(l_sock + 1, NULL, &fd, NULL, &tv); int l_selected = select(l_sock + 1, &fd, NULL, NULL, &tv);
#endif #endif
if (l_selected < 0) if (l_selected < 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