mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-27 12:42:10 +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…
x
Reference in New Issue
Block a user