[tor-commits] [obfsproxy/master] Fix build on Windows. Fix typo in configure.ac.

nickm at torproject.org nickm at torproject.org
Fri Sep 9 17:08:57 UTC 2011


commit 02adf0bec5714cbf9df6ac9eee171fbade0fd6a8
Author: Zack Weinberg <zackw at panix.com>
Date:   Mon Jul 25 15:50:10 2011 -0700

    Fix build on Windows. Fix typo in configure.ac.
---
 configure.ac |    2 +-
 src/util.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index fc82507..08d21c3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
 AC_PREREQ([2.61])dnl Possibly earlier will do, but this is what I have
-AC_INIT([obsproxy], [0.0])
+AC_INIT([obfsproxy], [0.0])
 AC_CONFIG_SRCDIR([src/main.c])
 AM_INIT_AUTOMAKE([foreign])
 
diff --git a/src/util.c b/src/util.c
index 87087c2..8e63944 100644
--- a/src/util.c
+++ b/src/util.c
@@ -186,7 +186,7 @@ resolve_address_port(const char *address, int nodns, int passive,
   free(a);
 
   if (ai_res) {
-    if (ai_res == EAI_SYSTEM)
+    if (ai_res == EVUTIL_EAI_SYSTEM)
       log_warn("Error resolving %s: %s [%s]",
                address, evutil_gai_strerror(ai_res), strerror(ai_errno));
     else





More information about the tor-commits mailing list