aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-02-22 04:55:19 +0000
committerNick Mathewson <nickm@torproject.org>2005-02-22 04:55:19 +0000
commitbb53a0bddd5984cff9785e51f9b9d4aeb0d5f71b (patch)
tree1403a22258fc131d6c314c516ff62e5efae96728 /src/common
parentd060f845f22689e3a3d13ab37f3e0bd0641f7e4c (diff)
downloadtor-bb53a0bddd5984cff9785e51f9b9d4aeb0d5f71b.tar
tor-bb53a0bddd5984cff9785e51f9b9d4aeb0d5f71b.tar.gz
remove spurious semicolons
svn:r3650
Diffstat (limited to 'src/common')
-rw-r--r--src/common/compat.c4
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));