mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-28 12:05:47 +08:00
Cygwin: POSIX msg queues: slightly rephrase get_mqinfo
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
2cc914a34e
commit
a4e074672a
@ -500,10 +500,9 @@ get_mqinfo (cygheap_fdget &fd)
|
|||||||
if (fd >= 0)
|
if (fd >= 0)
|
||||||
{
|
{
|
||||||
fhandler_mqueue *fh = fd->is_mqueue ();
|
fhandler_mqueue *fh = fd->is_mqueue ();
|
||||||
if (!fh)
|
if (fh)
|
||||||
set_errno (EINVAL);
|
|
||||||
else
|
|
||||||
return fh->mqinfo ();
|
return fh->mqinfo ();
|
||||||
|
set_errno (EINVAL);
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user