diff options
Diffstat (limited to 'src/de/blinkt/openvpn/VpnProfile.java')
-rw-r--r-- | src/de/blinkt/openvpn/VpnProfile.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/VpnProfile.java b/src/de/blinkt/openvpn/VpnProfile.java index c427297c..879e34e4 100644 --- a/src/de/blinkt/openvpn/VpnProfile.java +++ b/src/de/blinkt/openvpn/VpnProfile.java @@ -140,7 +140,7 @@ public class VpnProfile implements Serializable { } public void clearDefaults() { - mServerName = "unkown"; + mServerName = "unknown"; mUsePull = false; mUseLzo = false; mUseDefaultRoute = false; @@ -155,6 +155,8 @@ public class VpnProfile implements Serializable { } public String getName() { + if (mName==null) + return "No profile name"; return mName; } |