From 935e1504b1bb090119c4b9b42f3b34141290523c Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sat, 8 May 2010 19:36:05 -0400 Subject: [PATCH] Fix whitespace in evutil.c --- evutil.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/evutil.c b/evutil.c index a2476a50..177c137e 100644 --- a/evutil.c +++ b/evutil.c @@ -1070,7 +1070,7 @@ apply_socktype_protocol_hack(struct evutil_addrinfo *ai) ai->ai_protocol = IPPROTO_TCP; ai_new->ai_socktype = SOCK_DGRAM; ai_new->ai_protocol = IPPROTO_UDP; - + ai_new->ai_next = ai->ai_next; ai->ai_next = ai_new; } @@ -1165,7 +1165,7 @@ evutil_getaddrinfo(const char *nodename, const char *servname, if (need_socktype_protocol_hack()) { apply_socktype_protocol_hack(*res); - } + } return err; #else int port=0, err; @@ -1986,8 +1986,8 @@ evutil_sockaddr_is_loopback(const struct sockaddr *addr) } #define MAX_SECONDS_IN_MSEC_LONG \ - (((LONG_MAX) - 999) / 1000) - + (((LONG_MAX) - 999) / 1000) + long evutil_tv_to_msec(const struct timeval *tv) { -- 2.40.0