Commit Graph

30 Commits

Author SHA1 Message Date
Carsten Larsen 2811e30d49 Release 1.12.0 2017-04-12 01:21:06 +02:00
Carsten Sonne Larsen 742f56907a AmigaOS changes 2016-03-05 09:59:40 +01:00
David Drysdale 3f301a6fe3 acountry: drop inert test
If ver_1 is true, then z0 and z1 must both be 'z', and so
(z0 != 'z' && z1 != 'z') can never be true.

CID 56879, pointed out by Coverity.
2016-02-02 10:56:54 +00:00
Gregor Jasny 296ced3a0d Re-start loop if select fails
Fix Coverity error CID 56882

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
2014-09-30 16:49:55 +01:00
Gregor Jasny bd2c61353f Free temporary variable in error path
Fix Coverity CID 56890

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
2014-09-30 16:49:51 +01:00
Daniel Stenberg cf7ad9758d ares_inet_pton/ntop: cleanup
Make sure that the symbols are always exported and present in c-ares.

Make the headers prefixed with 'ares'.

Removed the inet_ntop.h version as it no longer features any content.
2013-02-17 17:44:02 +01:00
Yang Tse 0c677f578e setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>
Inclusion of these two header files now done in setup_once.h
2012-12-14 18:36:59 +01:00
Yang Tse a1035276c1 Header inclusion clean-up
Remove header inclusions already done in setup_once.h
2012-12-14 18:25:56 +01:00
Yang Tse a831da792d fix MSVC compiler warning 'conditional expression is constant' 2011-09-04 17:23:39 +02:00
Yang Tse 5ef8f5ead2 compiler warning: fix
Fix compiler warning: variable was set but never used

Fix compiler warning: clobber ignored
2011-05-25 11:19:10 +02:00
Yang Tse dac69d52c2 Fix compiler warning: array subscript has type 'char' 2010-11-12 19:46:13 +01:00
Daniel Stenberg 63627fa5ab remove all $Id$ lines 2010-03-27 19:42:02 +01:00
Yang Tse 1c5f8be38d Fix compiler warning: conditional expression is constant 2009-11-10 18:41:03 +00:00
Yang Tse a82a8fbf82 Renamed c-ares setup.h to ares_setup.h 2009-11-02 11:55:53 +00:00
Gisle Vanem c3872cb5dc Remove call to LoadLibrary(). (leftover from debugging). 2009-08-03 12:20:03 +00:00
Gisle Vanem 135bfe341f Fix bad sentence. 2009-08-03 12:16:00 +00:00
Yang Tse 16d842958a Fix compiler warning: out of bound access 2009-05-29 13:19:51 +00:00
Yang Tse b7c7bab713 Introduction of ares_library_init() and ares_library_cleanup() 2009-05-17 17:11:28 +00:00
Yang Tse 382dc0d719 s/u_long/unsigned long/ 2009-03-11 05:09:03 +00:00
Dan Fandrich efa7c4807b Make sure sys/socket.h is included before netinet/in.h (required by
OpenWatcom C, and condoned by SUS)
2008-12-02 02:58:04 +00:00
Yang Tse 1c9a010cf0 fix compiler warning 2008-10-17 19:04:53 +00:00
Yang Tse eeab12bd7f fix compiler warning: 'dot_4' may be used uninitialized in this function 2008-10-07 18:44:32 +00:00
Yang Tse 746f3e2942 rearrange to allow internal/private use of ares_strcasecmp to any system that
lacks the strcasecmp function.
2008-09-15 15:28:26 +00:00
Yang Tse 0cd952f7c2 *** empty log message *** 2008-09-13 01:35:15 +00:00
Yang Tse 2b838e85e7 George Neill's fix acountry sample application compilation failure. 2008-08-25 03:44:43 +00:00
Gisle Vanem 308746c081 Ops, remove 'use_vc'. 2008-08-16 17:05:42 +00:00
Gisle Vanem 3c3c49e048 Support Watt-32 under Win32. 2008-08-16 16:42:44 +00:00
Daniel Stenberg d4d2f9dc22 include strings.h (if available) for the strcasecmp() proto 2008-05-08 22:14:17 +00:00
Gisle Vanem 6dc6464259 Added '-d' option for Watt-32 debugging. 2008-01-02 05:30:52 +00:00
Gisle Vanem 89556eed2c Another sample application that returns country-code and
name from an IPv4-address or host-name. Using the service of
countries.nerd.dk.
2007-12-11 17:21:12 +00:00