]> 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 96dac532b6aa8f8bcb6f828036a259d743f512c0..a48cc7076f4b154b9fdfefabbc06342d7cca9990 100644 (file)
--- a/be_all.c
+++ b/be_all.c
@@ -6,6 +6,12 @@
 #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},