mirror of https://github.com/aria2/aria2
2010-10-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compiler warning when checking c-ares version. * m4/libcares.m4pull/1/head
parent
17a0a5baad
commit
59bc2a7da7
|
@ -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);
|
||||
]],
|
||||
[[
|
||||
ares_channel channel;
|
||||
ares_gethostbyname(channel, "foo", 0, callback, 0);
|
||||
ares_gethostbyname((ares_channel)0, "foo", 0, callback, 0);
|
||||
]])],
|
||||
[have_libcares1_5=yes],
|
||||
[have_libcares1_5=no])
|
||||
|
|
Loading…
Reference in New Issue