Skip to content

Commit

Permalink
fucking macos
Browse files Browse the repository at this point in the history
  • Loading branch information
kotauskas committed Apr 15, 2024
1 parent 911bc37 commit a706c74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions src/os/unix/local_socket/name_type.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
use crate::local_socket::{Name, NameInner, NameType, NamespacedNameType, PathNameType};
use std::{
borrow::Cow,
ffi::OsStr,
io,
os::unix::ffi::{OsStrExt, OsStringExt},
path::Path,
};
use std::{borrow::Cow, ffi::OsStr, io, os::unix::prelude::*, path::Path};

tag_enum!(
/// [Mapping](NameType) that produces local socket names referring to Unix domain sockets bound to
Expand Down
2 changes: 1 addition & 1 deletion src/os/unix/uds_local_socket/listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ impl traits::Listener for Listener {

let listener = c_wrappers::bind_and_listen_with_mode(
libc::SOCK_STREAM,
&name_to_addr(options.name.borrow(), true)?,
&dbg!(name_to_addr(options.name.borrow(), true))?,
nonblocking,
options.mode,
)
Expand Down

0 comments on commit a706c74

Please sign in to comment.