summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2017-05-23 11:16:44 +0200
committerLinus Färnstrand <linus@mullvad.net>2017-05-23 11:16:44 +0200
commit15c800f491ac33f33a45d0f4169cd59f77c01e20 (patch)
treea7fc21066af0d8d0983dbd2d1c9d95bcc85f414c
parentab63f2e12d255236e6f3d96aab391f51c28eb629 (diff)
downloadmullvadvpn-15c800f491ac33f33a45d0f4169cd59f77c01e20.tar.xz
mullvadvpn-15c800f491ac33f33a45d0f4169cd59f77c01e20.zip
Rename arg0 to a more descriptive name
-rw-r--r--talpid_core/src/tunnel/openvpn.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/talpid_core/src/tunnel/openvpn.rs b/talpid_core/src/tunnel/openvpn.rs
index d5fadeb3d1..bcf89e3eb0 100644
--- a/talpid_core/src/tunnel/openvpn.rs
+++ b/talpid_core/src/tunnel/openvpn.rs
@@ -99,8 +99,8 @@ impl OpenVpnMonitor {
}
fn set_plugin(&self, cmd: &mut OpenVpnCommand) {
- let arg0 = self.event_dispatcher.address().to_string();
- cmd.plugin(&self.plugin_path, vec![arg0]);
+ let event_dispatcher_address = self.event_dispatcher.address().to_string();
+ cmd.plugin(&self.plugin_path, vec![event_dispatcher_address]);
}
/// Tries to kill the OpenVPN process if it is running. If it is already dead, this does