diff options
| author | Jonas Maier <jonas@x77.dev> | 2026-03-15 21:03:30 +0100 |
|---|---|---|
| committer | Jonas Maier <jonas@x77.dev> | 2026-03-15 21:03:30 +0100 |
| commit | 7bb25e51a1ad52f043836b425f2e8d3670e96f34 (patch) | |
| tree | 4396257b4d9a6ef242e32f9599e2102d214c8db1 /src/export_fun.rs | |
| parent | 792a675a6422ccb3e8ff8ccbf6d45f0833e0e67c (diff) | |
| download | pish-7bb25e51a1ad52f043836b425f2e8d3670e96f34.tar.gz | |
cargo clippy
Diffstat (limited to 'src/export_fun.rs')
| -rw-r--r-- | src/export_fun.rs | 2 |
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); } |
