public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
From: jturney@sourceware.org
To: cygwin-apps-cvs@sourceware.org
Subject: [setup - the official Cygwin setup program] branch master, updated. release_2.891
Date: Thu, 15 Mar 2018 23:08:00 -0000	[thread overview]
Message-ID: <20180315230818.102711.qmail@sourceware.org> (raw)




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;
 }


                 reply	other threads:[~2018-03-15 23:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180315230818.102711.qmail@sourceware.org \
    --to=jturney@sourceware.org \
    --cc=cygwin-apps-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).