summaryrefslogtreecommitdiff
path: root/src/de
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-05-05 02:52:57 +0200
committerArne Schwabe <arne@rfc2549.org>2012-05-05 02:52:57 +0200
commit1c6052df6172f8f4e025fa0934abe58aab640430 (patch)
tree352e568e7a120282937f30ade1fa077fa7ecaf7c /src/de
parente4f201e9c75e40e5d743bd1f9a9e6d21bb79ebbe (diff)
0.4.8b - the my phone has a /tmp but most ics do not
Diffstat (limited to 'src/de')
-rw-r--r--src/de/blinkt/openvpn/Settings_Obscure.java2
-rw-r--r--src/de/blinkt/openvpn/VpnProfile.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/de/blinkt/openvpn/Settings_Obscure.java b/src/de/blinkt/openvpn/Settings_Obscure.java
index 91c6170b..fd3b540d 100644
--- a/src/de/blinkt/openvpn/Settings_Obscure.java
+++ b/src/de/blinkt/openvpn/Settings_Obscure.java
@@ -69,7 +69,7 @@ public class Settings_Obscure extends PreferenceFragment implements OnPreference
if(preference==mLogverbosity) {
// Catch old version problem
if(newValue==null){
- newValue=1;
+ newValue="1";
}
mLogverbosity.setDefaultValue(newValue);
//This is idiotic.
diff --git a/src/de/blinkt/openvpn/VpnProfile.java b/src/de/blinkt/openvpn/VpnProfile.java
index 31f32f85..f6ece687 100644
--- a/src/de/blinkt/openvpn/VpnProfile.java
+++ b/src/de/blinkt/openvpn/VpnProfile.java
@@ -181,12 +181,12 @@ public class VpnProfile implements Serializable{
cfg += "management-hold\n\n";
/* only needed if client is compiled with P2MP Server support as early version
- * accidently were
+ * accidently were */
cfg+="# /tmp does not exist on Android\n";
cfg+="tmp-dir ";
cfg+=cacheDir.getAbsolutePath();
cfg+="\n\n";
- */
+
boolean useTLSClient = (mAuthenticationType != TYPE_STATICKEYS);
if(useTLSClient && mUsePull)