mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-11 02:03:09 +02:00
gsocket: Add ignorant of an fcntl return value
This commit is contained in:
parent
cdb9762072
commit
328bd31631
@ -621,7 +621,7 @@ g_socket (gint domain,
|
|||||||
(flags & FD_CLOEXEC) == 0)
|
(flags & FD_CLOEXEC) == 0)
|
||||||
{
|
{
|
||||||
flags |= FD_CLOEXEC;
|
flags |= FD_CLOEXEC;
|
||||||
fcntl (fd, F_SETFD, flags);
|
(void) fcntl (fd, F_SETFD, flags);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user