mirror of
https://github.com/Wind4/vlmcsd.git
synced 2025-05-29 05:55:14 -04:00
vlmcsd-svn818-2016-03-07-Hotbird64
This commit is contained in:
parent
1af203d2a8
commit
1c86f7a6bf
34 changed files with 145 additions and 87 deletions
|
@ -3610,7 +3610,7 @@ __pure BOOL getArgumentBool(int_fast8_t *result, const char *const argument)
|
|||
{
|
||||
if (
|
||||
!strncasecmp(argument, "true", 4) ||
|
||||
!strncasecmp(argument, "on", 4) ||
|
||||
!strncasecmp(argument, "on", 2) ||
|
||||
!strncasecmp(argument, "yes", 3) ||
|
||||
!strncasecmp(argument, "1", 1)
|
||||
)
|
||||
|
@ -5793,7 +5793,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue