public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [setup - the official Cygwin setup program] branch master, updated. release_2.891
@ 2018-03-15 23:08 jturney
  0 siblings, 0 replies; only message in thread
From: jturney @ 2018-03-15 23:08 UTC (permalink / raw)
  To: cygwin-apps-cvs




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=3d7dbd620def0de9b9f1629f9108ebed769cfc71

commit 3d7dbd620def0de9b9f1629f9108ebed769cfc71
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Thu Mar 15 22:13:05 2018 +0000

    Migrate configured connection type from the removed 'direct(legacy)' to 'direct'


Diff:
---
 ConnectionSetting.cc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/ConnectionSetting.cc b/ConnectionSetting.cc
index 2370a20..d33acc9 100644
--- a/ConnectionSetting.cc
+++ b/ConnectionSetting.cc
@@ -64,6 +64,10 @@ ConnectionSetting::typeFromString(const std::string& aType)
   if (!casecompare(aType, "Proxy"))
     return IDC_NET_PROXY;
 
+  /* Migrate the removed direct(legacy) to direct */
+  if (!casecompare(aType, "Legacy"))
+    return IDC_NET_DIRECT;
+
   /* A sanish default */
   return IDC_NET_PRECONFIG;
 }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-15 23:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-15 23:08 [setup - the official Cygwin setup program] branch master, updated. release_2.891 jturney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).