From: Nick Mathewson Date: Tue, 22 Feb 2005 04:55:19 +0000 (+0000) Subject: remove spurious semicolons X-Git-Tag: tor-0.1.0.1-rc~229 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb53a0bddd5984cff9785e51f9b9d4aeb0d5f71b;p=thirdparty%2Ftor.git remove spurious semicolons svn:r3650 --- 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));