diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-10-17 20:54:47 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-10-17 20:54:47 +0200 |
commit | dd13d2f520f0240e5c0acd894315c227c4099d53 (patch) | |
tree | db8389b6a71087ae764f8b62ca50e669d3d03a61 /src/de/blinkt | |
parent | 37da7de31eaa921b4c33b723f8834a0440dcd93a (diff) |
Fix the mixup in username and profilename (closes issue #98)
Diffstat (limited to 'src/de/blinkt')
-rw-r--r-- | src/de/blinkt/openvpn/ConfigConverter.java | 4 |
1 files 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]; } } |