aboutsummaryrefslogtreecommitdiffstats
path: root/src/export_fun.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/export_fun.rs')
-rw-r--r--src/export_fun.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/export_fun.rs b/src/export_fun.rs
index 64810eb..cef3492 100644
--- a/src/export_fun.rs
+++ b/src/export_fun.rs
@@ -229,7 +229,7 @@ pub fn maybe_run_defined_function() {
let uid: uid_t = String::from_utf8_lossy(it.next().unwrap()).parse().unwrap();
let gid: gid_t = String::from_utf8_lossy(it.next().unwrap()).parse().unwrap();
- if let Ok(stream) = UnixStream::connect(OsStr::from_bytes(&socket)) {
+ if let Ok(stream) = UnixStream::connect(OsStr::from_bytes(socket)) {
let _ = handle_client(stream, uid, gid);
}