diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-02-22 04:55:19 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-02-22 04:55:19 +0000 |
commit | bb53a0bddd5984cff9785e51f9b9d4aeb0d5f71b (patch) | |
tree | 1403a22258fc131d6c314c516ff62e5efae96728 /src/common | |
parent | d060f845f22689e3a3d13ab37f3e0bd0641f7e4c (diff) | |
download | tor-bb53a0bddd5984cff9785e51f9b9d4aeb0d5f71b.tar tor-bb53a0bddd5984cff9785e51f9b9d4aeb0d5f71b.tar.gz |
remove spurious semicolons
svn:r3650
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/compat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index b827b8175..5de2081ca 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)); |