summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/ConfigConverter.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-10-17 20:54:47 +0200
committerArne Schwabe <arne@rfc2549.org>2012-10-17 20:54:47 +0200
commitdd13d2f520f0240e5c0acd894315c227c4099d53 (patch)
treedb8389b6a71087ae764f8b62ca50e669d3d03a61 /src/de/blinkt/openvpn/ConfigConverter.java
parent37da7de31eaa921b4c33b723f8834a0440dcd93a (diff)
Fix the mixup in username and profilename (closes issue #98)
Diffstat (limited to 'src/de/blinkt/openvpn/ConfigConverter.java')
-rw-r--r--src/de/blinkt/openvpn/ConfigConverter.java4
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];
}
}