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.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/talpid-openvpn-plugin/src/processing.rs b/talpid-openvpn-plugin/src/processing.rs
index 5fc2a1312e..a376665888 100644
--- a/talpid-openvpn-plugin/src/processing.rs
+++ b/talpid-openvpn-plugin/src/processing.rs
@@ -18,7 +18,7 @@ pub struct EventProcessor {
}
impl EventProcessor {
- pub fn new(server_id: IpcServerId) -> Result<EventProcessor> {
+ pub fn new(server_id: &IpcServerId) -> Result<EventProcessor> {
trace!("Creating EventProcessor");
let ipc_client =
WsIpcClient::connect(server_id).chain_err(|| "Unable to create IPC client")?;