From 932a795816a0bee89f86785e8484de8b829691e2 Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Sat, 27 Jun 2020 16:09:50 +0100 Subject: [PATCH] Retire TELNET_DEFAULT. --- Recipe | 5 ----- be_all.c | 4 ---- be_all_s.c | 4 ---- 3 files changed, 13 deletions(-) diff --git a/Recipe b/Recipe index e1e7f93e..a28d7696 100644 --- a/Recipe +++ b/Recipe @@ -97,11 +97,6 @@ # Disables PuTTY's use of SecureZeroMemory(), which is missing # from some environments' header files. # -# - XFLAGS=/DTELNET_DEFAULT -# Causes PuTTY to default to the Telnet protocol (in the absence -# of Default Settings and so on to the contrary). Normally PuTTY -# will default to SSH. -# # - XFLAGS=/DDEBUG # Causes PuTTY to enable internal debugging. # diff --git a/be_all.c b/be_all.c index f035dfdc..c049f020 100644 --- a/be_all.c +++ b/be_all.c @@ -16,11 +16,7 @@ */ const char *const appname = "PuTTY"; -#ifdef TELNET_DEFAULT -const int be_default_protocol = PROT_TELNET; -#else const int be_default_protocol = PROT_SSH; -#endif const struct BackendVtable *const backends[] = { &ssh_backend, diff --git a/be_all_s.c b/be_all_s.c index 2da3bb4c..eb977558 100644 --- a/be_all_s.c +++ b/be_all_s.c @@ -16,11 +16,7 @@ */ const char *const appname = "PuTTY"; -#ifdef TELNET_DEFAULT -const int be_default_protocol = PROT_TELNET; -#else const int be_default_protocol = PROT_SSH; -#endif const struct BackendVtable *const backends[] = { &ssh_backend,