]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - proxy.c
Fix a couple of stupid typos in the session-saving code.
[PuTTY.git] / proxy.c
diff --git a/proxy.c b/proxy.c
index be238c34d38ce1916ceb07fa9e6f1b8d870eba6f..0a61741e339a107ed953dcee5a75367f3b1d88fe 100644 (file)
--- a/proxy.c
+++ b/proxy.c
@@ -15,8 +15,8 @@
 #include "proxy.h"
 
 #define do_proxy_dns(cfg) \
-    (cfg->proxy_dns == 2 || \
-        (cfg->proxy_dns == 1 && cfg->proxy_type != PROXY_SOCKS))
+    (cfg->proxy_dns == FORCE_ON || \
+        (cfg->proxy_dns == AUTO && cfg->proxy_type != PROXY_SOCKS))
 
 /*
  * Call this when proxy negotiation is complete, so that this