summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-01-14 23:13:44 +0100
committerArne Schwabe <arne@rfc2549.org>2013-01-14 23:13:44 +0100
commit0059229639e1ce0b5bbe9dbc2f03c1f2025d301b (patch)
treecea727f9534dc0a91fcf585e822f3380e7eb0951
parentf339189c5bb81b9c2f0e5a302f2595923ef3fcda (diff)
Set NOPROCESS as initial state
-rw-r--r--src/de/blinkt/openvpn/OpenVPN.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/OpenVPN.java b/src/de/blinkt/openvpn/OpenVPN.java
index 8d6cb4c8..0de4bd11 100644
--- a/src/de/blinkt/openvpn/OpenVPN.java
+++ b/src/de/blinkt/openvpn/OpenVPN.java
@@ -9,6 +9,7 @@ import android.content.Context;
import android.os.Build;
public class OpenVPN {
+ private static final String NOPROCESS = "NOPROCESS";
public static LinkedList<LogItem> logbuffer;
@@ -19,7 +20,7 @@ public class OpenVPN {
private static String mLaststatemsg;
- private static String mLaststate;
+ private static String mLaststate=NOPROCESS;
private static int mLastStateresid=R.string.state_noprocess;