]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - be_all.c
Fix a couple of stupid typos in the session-saving code.
[PuTTY.git] / be_all.c
index fc0755aeb133141010be9be1a7de8608d2156e6b..a48cc7076f4b154b9fdfefabbc06342d7cca9990 100644 (file)
--- a/be_all.c
+++ b/be_all.c
@@ -3,10 +3,15 @@
  * including ssh.
  */
 
-#include <windows.h>
 #include <stdio.h>
 #include "putty.h"
 
+#ifdef TELNET_DEFAULT
+const int be_default_protocol = PROT_TELNET;
+#else
+const int be_default_protocol = PROT_SSH;
+#endif
+
 struct backend_list backends[] = {
     {PROT_SSH, "ssh", &ssh_backend},
     {PROT_TELNET, "telnet", &telnet_backend},