vlmcsd-svn818-2016-03-07-Hotbird64

This commit is contained in:
Wind4 2016-04-11 12:49:47 +08:00
parent 1af203d2a8
commit 1c86f7a6bf
34 changed files with 145 additions and 87 deletions

View file

@ -159,7 +159,7 @@ static int getDnsRawAnswer(const char *restrict query, unsigned char** receive_b
char* querystring = (char*)alloca(strlen(query) + 12);
strcpy(querystring, "_vlmcs._tcp");
strcat(querystring, query);
bytes_received = res_query(querystring, C_IN, ns_t_srv, *receive_buffer, RECEIVE_BUFFER_SIZE);
bytes_received = res_query(querystring, ns_c_in, ns_t_srv, *receive_buffer, RECEIVE_BUFFER_SIZE);
# endif
}
else