Update code

This commit is contained in:
Nick Peng
2018-11-12 22:55:06 +08:00
parent 08024010fe
commit 7b0145acdb
2 changed files with 1 additions and 2 deletions

View File

@@ -304,7 +304,6 @@ static int _dns_reply(struct dns_request *request)
int _dns_server_request_complete(struct dns_request *request)
{
int ret = -1;
char *cname = NULL;
int cname_ttl = 0;

View File

@@ -106,7 +106,7 @@ typedef struct {
typedef struct {
void *value;
uint32_t key_len;
unsigned char key[];
unsigned char key[0];
} art_leaf;
/**