mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-22 06:41:26 +00:00
Fix segfault in test for BSDs
This commit is contained in:
parent
5951166b36
commit
8f2c210019
|
@ -68,8 +68,8 @@ START_TEST(test_encode_query)
|
||||||
struct encoder *enc;
|
struct encoder *enc;
|
||||||
char *d;
|
char *d;
|
||||||
size_t len;
|
size_t len;
|
||||||
|
size_t enclen;
|
||||||
int ret;
|
int ret;
|
||||||
int enclen;
|
|
||||||
|
|
||||||
enclen = sizeof(resolv);
|
enclen = sizeof(resolv);
|
||||||
memset(&buf, 0, sizeof(buf));
|
memset(&buf, 0, sizeof(buf));
|
||||||
|
|
Loading…
Reference in a new issue