2011-02-20 15:20:37 +00:00
|
|
|
--- a/programs/pluto/adns.c
|
|
|
|
+++ b/programs/pluto/adns.c
|
|
|
|
@@ -187,7 +187,7 @@ write_pipe(int fd, const unsigned char *
|
2010-11-02 23:59:42 +00:00
|
|
|
res_query(dname, class, type, answer, anslen)
|
|
|
|
# define res_nclose(statp) res_close()
|
|
|
|
|
|
|
|
-static struct __res_state *statp = &_res;
|
|
|
|
+#define statp ((struct __res_state *)(&_res))
|
|
|
|
|
|
|
|
#else /* !OLD_RESOLVER */
|
|
|
|
|