summaryrefslogtreecommitdiffhomepage
path: root/talpid_openvpn_plugin/src/processing.rs
diff options
context:
space:
mode:
Diffstat (limited to 'talpid_openvpn_plugin/src/processing.rs')
-rw-r--r--talpid_openvpn_plugin/src/processing.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/talpid_openvpn_plugin/src/processing.rs b/talpid_openvpn_plugin/src/processing.rs
index 68bab3b99c..b1f1b97abc 100644
--- a/talpid_openvpn_plugin/src/processing.rs
+++ b/talpid_openvpn_plugin/src/processing.rs
@@ -16,7 +16,7 @@ error_chain! {
/// Struct processing OpenVPN events and notifies listeners over IPC
pub struct EventProcessor {
- ipc_client: IpcClient<HashMap<String, String>>,
+ ipc_client: IpcClient<(openvpn_ffi::OpenVpnPluginEvent, HashMap<String, String>)>,
}
impl EventProcessor {
@@ -31,7 +31,7 @@ impl EventProcessor {
env: HashMap<String, String>)
-> Result<()> {
trace!("Processing \"{:?}\" event", event);
- self.ipc_client.send(&env).chain_err(|| ErrorKind::IpcSendingError)
+ self.ipc_client.send(&(event, env)).chain_err(|| ErrorKind::IpcSendingError)
}
}