Fix segfault in test for BSDs
This commit is contained in:
parent
a5c6f93fa2
commit
39d7263a11
|
@ -68,8 +68,8 @@ START_TEST(test_encode_query)
|
|||
struct encoder *enc;
|
||||
char *d;
|
||||
size_t len;
|
||||
size_t enclen;
|
||||
int ret;
|
||||
int enclen;
|
||||
|
||||
enclen = sizeof(resolv);
|
||||
memset(&buf, 0, sizeof(buf));
|
||||
|
|
Loading…
Reference in New Issue