summaryrefslogtreecommitdiff
path: root/src/de
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-08-17 20:18:19 +0200
committerArne Schwabe <arne@rfc2549.org>2012-08-17 20:18:19 +0200
commitcf939cc50cebddc19a17641d821b2b0a9259efc2 (patch)
treefff74ccb98543b869fe72a0cfce4e05ee1667cd8 /src/de
parentf37ef9fac5213c2551a92b88265942475cb4deaa (diff)
really fix NPE from market
Diffstat (limited to 'src/de')
-rw-r--r--src/de/blinkt/openvpn/OpenVpnManagementThread.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/OpenVpnManagementThread.java b/src/de/blinkt/openvpn/OpenVpnManagementThread.java
index dcadfdbd..d593832a 100644
--- a/src/de/blinkt/openvpn/OpenVpnManagementThread.java
+++ b/src/de/blinkt/openvpn/OpenVpnManagementThread.java
@@ -439,7 +439,7 @@ public class OpenVpnManagementThread implements Runnable {
mt.managmentCommand("signal SIGINT\n");
sendCMD=true;
try {
- if(mt !=null)
+ if(mt.mSocket !=null)
mt.mSocket.close();
} catch (IOException e) {
// Ignore close error on already closed socket