From bb53a0bddd5984cff9785e51f9b9d4aeb0d5f71b Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 22 Feb 2005 04:55:19 +0000 Subject: remove spurious semicolons svn:r3650 --- src/common/compat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/compat.c') diff --git a/src/common/compat.c b/src/common/compat.c index b827b81754..5de2081ca5 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -536,11 +536,11 @@ int tor_lookup_hostname(const char *name, uint32_t *addr) struct hostent hostent; int r; r = gethostbyname_r(name, &hostent, buf, sizeof(buf), &ent, &err); -#elif defined(HAVE_GETHOSTBYNAME_R_5_ARG); +#elif defined(HAVE_GETHOSTBYNAME_R_5_ARG) char buf[2048]; struct hostent hostent; ent = gethostbyname_r(name, &hostent, buf, sizeof(buf), &err); -#elif defined(HAVE_GETHOSTBYNAME_R_3_ARG); +#elif defined(HAVE_GETHOSTBYNAME_R_3_ARG) struct hostent_data data; struct hostent hent; memset(&data, 0, sizeof(data)); -- cgit v1.2.3-54-g00ecf