mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 07:16:04 +00:00
Problem: ipc://* random dir created with USE_FD
Solution: if options.use_fd do not create temporary random directory for ipc://*, since the socket is already created and passed to the library by the user.
This commit is contained in:
parent
f18463f323
commit
d570f57b6e
@ -214,7 +214,7 @@ int zmq::ipc_listener_t::set_address (const char *addr_)
|
||||
std::string addr (addr_);
|
||||
|
||||
// Allow wildcard file
|
||||
if (addr [0] == '*') {
|
||||
if (options.use_fd == -1 && addr [0] == '*') {
|
||||
if ( create_wildcard_address(tmp_socket_dirname, addr) < 0 ) {
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user