resolver: fix commit 171b285
This commit is contained in:
@@ -9,11 +9,6 @@
|
||||
* This program is dual licensed under the MIT and GPLv3 licenses.
|
||||
*/
|
||||
|
||||
/*
|
||||
* gcc -o test_resolver -I./src tests/test_resolver.c src/resolver.c \
|
||||
* src/snprintf.c
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -122,6 +117,7 @@ int main(int argc, char **argv)
|
||||
size_t i;
|
||||
int ret;
|
||||
|
||||
#if 0
|
||||
printf("resolver_srv_lookup_buf() tests.\n");
|
||||
for (i = 0; i < ARRAY_SIZE(tests); ++i) {
|
||||
printf("Test #%zu: ", i + 1);
|
||||
@@ -137,6 +133,14 @@ int main(int argc, char **argv)
|
||||
}
|
||||
printf("ok\n");
|
||||
}
|
||||
#else
|
||||
printf("resolver_srv_lookup_buf() tests are DISABLED due to changed API.\n");
|
||||
(void)tests;
|
||||
(void)ret;
|
||||
(void)i;
|
||||
(void)port;
|
||||
(void)domain;
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user