mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 798354 - Remove the sizecheck global variable in ipc_channel_posix.cc since its only needed at compile time, and there are better ways to do this; r=cjones
This commit is contained in:
parent
70214f9140
commit
43d123ed67
@ -133,8 +133,7 @@ int ChannelNameToClientFD(const std::string& channel_id) {
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
sockaddr_un sizecheck;
|
||||
const size_t kMaxPipeNameLength = sizeof(sizecheck.sun_path);
|
||||
const size_t kMaxPipeNameLength = sizeof(sockaddr_un::sun_path);
|
||||
|
||||
// Creates a Fifo with the specified name ready to listen on.
|
||||
bool CreateServerFifo(const std::string& pipe_name, int* server_listen_fd) {
|
||||
|
Loading…
Reference in New Issue
Block a user