mirror of https://github.com/Icinga/icinga2.git
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…
Reference in New Issue