Fix typo in stream.rs
avaiable -> available
This commit is contained in:
parent
67ca5444f4
commit
fc0f913940
@ -91,7 +91,7 @@ impl Stream {
|
|||||||
return_errno!(EINVAL, "the socket is already bound");
|
return_errno!(EINVAL, "the socket is already bound");
|
||||||
}
|
}
|
||||||
|
|
||||||
// check the global address space to see if the address is avaiable before bind
|
// check the global address space to see if the address is available before bind
|
||||||
ADDRESS_SPACE.add_binder(addr)?;
|
ADDRESS_SPACE.add_binder(addr)?;
|
||||||
info.set_addr(addr);
|
info.set_addr(addr);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user