diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2018-05-04 15:29:04 -0300 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2018-05-07 08:55:03 -0300 |
| commit | 02f76355d339166d259c60420358e35553753c35 (patch) | |
| tree | dce3e3e96d778d0bf3a2b63efe8429cc07220380 /talpid-openvpn-plugin/src/processing.rs | |
| parent | 083fa2b11bb3ac32e62ecabe4a66ab4c1a94d68c (diff) | |
| download | mullvadvpn-02f76355d339166d259c60420358e35553753c35.tar.xz mullvadvpn-02f76355d339166d259c60420358e35553753c35.zip | |
Borrow server ID instead of moving it
Diffstat (limited to 'talpid-openvpn-plugin/src/processing.rs')
| -rw-r--r-- | talpid-openvpn-plugin/src/processing.rs | 2 |
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")?; |
