mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-29 00:24:23 +02:00
parent
a2e504bd01
commit
e0596f2d33
@ -25,7 +25,7 @@ using namespace icinga;
|
|||||||
|
|
||||||
UnixSocket::UnixSocket(void)
|
UnixSocket::UnixSocket(void)
|
||||||
{
|
{
|
||||||
int fd = socket(AF_UNIX, SOCK_STREAM, PF_UNIX);
|
int fd = socket(AF_UNIX, SOCK_STREAM, 0);
|
||||||
|
|
||||||
if (fd < 0) {
|
if (fd < 0) {
|
||||||
BOOST_THROW_EXCEPTION(posix_error()
|
BOOST_THROW_EXCEPTION(posix_error()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user