1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-25 06:26:05 +03:00

Fix segfault in test for BSDs

This commit is contained in:
Erik Ekman 2009-09-20 15:57:00 +00:00
parent a5c6f93fa2
commit 39d7263a11

View File

@ -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));