瀏覽代碼

remove spurious semicolons

svn:r3650
Nick Mathewson 20 年之前
父節點
當前提交
bb53a0bddd
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/common/compat.c

+ 2 - 2
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));