Style. Whitespace cleanup. (#213)

Small whitespace cleanups.

Fix By: @flyingdutchman23
pull/223/head
flyingdutchman23 7 years ago committed by Brad House
parent cd4ee0599c
commit e8e7151849
  1. 2
      ares_destroy.c
  2. 2
      config-win32.h
  3. 3
      inet_ntop.c

@ -44,7 +44,7 @@ void ares_destroy(ares_channel channel)
struct query *query;
struct list_node* list_head;
struct list_node* list_node;
if (!channel)
return;

@ -245,7 +245,7 @@
# define _CRT_NONSTDC_NO_DEPRECATE 1
#endif
/* Set the Target to Vista. However, any symbols required above Win2000
/* Set the Target to Vista. However, any symbols required above Win2000
* should be loaded via LoadLibrary() */
#if defined(_MSC_VER) && (_MSC_VER >= 1500)
# define VS2008_MIN_TARGET 0x0600

@ -180,8 +180,7 @@ inet_ntop6(const unsigned char *src, char *dst, size_t size)
tp += sprintf(tp, "%x", words[i]);
}
/* Was it a trailing run of 0x00's? */
if (best.base != -1 && (best.base + best.len) ==
(NS_IN6ADDRSZ / NS_INT16SZ))
if (best.base != -1 && (best.base + best.len) == (NS_IN6ADDRSZ / NS_INT16SZ))
*tp++ = ':';
*tp++ = '\0';

Loading…
Cancel
Save