mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01: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;
|
||||
fcntl (fd, F_SETFD, flags);
|
||||
(void) fcntl (fd, F_SETFD, flags);
|
||||
}
|
||||
}
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user