summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEmīls Piņķis <emils@mullvad.net>2018-06-25 16:55:58 +0100
committerEmīls Piņķis <emils@mullvad.net>2018-06-25 16:55:58 +0100
commit4e3e4d0caf5267a601130c34ec977dfbf605ef48 (patch)
tree1831e617dabc84c582b5aae8b0f2f34aecdf4cc4
parent5be10c5fd708fe0933f1d8cced80bac7550c13b7 (diff)
parent821ef9be03087cbda7ae24ea4ef79f4354167074 (diff)
downloadmullvadvpn-4e3e4d0caf5267a601130c34ec977dfbf605ef48.tar.xz
mullvadvpn-4e3e4d0caf5267a601130c34ec977dfbf605ef48.zip
Merge remote-tracking branch 'origin/fix-system-state'
-rw-r--r--talpid-core/src/firewall/windows/system_state.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/talpid-core/src/firewall/windows/system_state.rs b/talpid-core/src/firewall/windows/system_state.rs
index 8c310667bb..cdc36f4e36 100644
--- a/talpid-core/src/firewall/windows/system_state.rs
+++ b/talpid-core/src/firewall/windows/system_state.rs
@@ -1,8 +1,8 @@
//! A writer for a blob that would persistently store the system state. Useful
//! for when the application of a secuirty policy proves to be persistent across
//! reboots
-use std::fs;
-use std::io;
+use std::fs::{self, File};
+use std::io::{self, Write};
use std::path::Path;
/// This struct is responsible for saving a binary blob to disk. The binary blob is intended to