Fixed compiler warning when checking c-ares version. * m4/libcares.m4
@@ -1,3 +1,8 @@
+2010-10-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
+
+ Fixed compiler warning when checking c-ares version.
+ * m4/libcares.m4
2010-10-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed unused variable r.
@@ -7089,8 +7089,7 @@ int
main ()
{
- ares_channel channel;
- ares_gethostbyname(channel, "foo", 0, callback, 0);
+ ares_gethostbyname((ares_channel)0, "foo", 0, callback, 0);
;
return 0;
@@ -34,8 +34,7 @@ if test "x$have_libcares" = "xyes"; then
void callback(void* arg, int status, int timeouts, struct hostent* host);
]],
[[
]])],
[have_libcares1_5=yes],
[have_libcares1_5=no])