From dd13d2f520f0240e5c0acd894315c227c4099d53 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Wed, 17 Oct 2012 20:54:47 +0200 Subject: Fix the mixup in username and profilename (closes issue #98) --- src/de/blinkt/openvpn/ConfigConverter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/de/blinkt/openvpn/ConfigConverter.java b/src/de/blinkt/openvpn/ConfigConverter.java index eababcf5..3f204368 100644 --- a/src/de/blinkt/openvpn/ConfigConverter.java +++ b/src/de/blinkt/openvpn/ConfigConverter.java @@ -331,12 +331,12 @@ public class ConfigConverter extends ListActivity { if(mResult.mUsername != null && !mResult.mUsername.equals("")){ String data =embedFile(mResult.mUsername); - mResult.mName=null; + mResult.mUsername=null; if(data!=null) { data = data.replace(VpnProfile.INLINE_TAG, ""); String[] parts = data.split("\n"); if(parts.length >= 2) { - mResult.mName=parts[0]; + mResult.mUsername=parts[0]; mResult.mPassword=parts[1]; } } -- cgit v1.2.3