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)
|
||||
{
|
||||
fhandler_mqueue *fh = fd->is_mqueue ();
|
||||
if (!fh)
|
||||
set_errno (EINVAL);
|
||||
else
|
||||
if (fh)
|
||||
return fh->mqinfo ();
|
||||
set_errno (EINVAL);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue