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
commit2d90483cf39feb89bb5ba2262513cb2a586490db (patch)
treed2f79b8af86bca8ff3252412b0565bbb8f3f8b0b /src/de/blinkt/openvpn/ConfigConverter.java
parent58e8841d635d617d2709a6454bc425f9aba96852 (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];
}
}