`ssh-default': change the /DSSH_DEFAULT flag to a /DTELNET_DEFAULT one
[u/mdw/putty] / putty.h
diff --git a/putty.h b/putty.h
index 7f0f781..28320de 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -371,9 +371,10 @@ struct config_tag {
 };
 
 /*
- * You can compile with -DSSH_DEFAULT to have ssh by default.
+ * You can compile with -DTELNET_DEFAULT to have telnet by default
+ * (otherwise SSH is the default).
  */
-#ifndef SSH_DEFAULT
+#ifdef TELNET_DEFAULT
 #define DEFAULT_PROTOCOL PROT_TELNET
 #define DEFAULT_PORT 23
 #else