Suppress a recurrent "no error" message, at least with MSVC
This commit is contained in:
parent
5fe860750e
commit
c0f6257c18
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ FGMultiplayMgr::Update(void)
|
|||
// no Data received
|
||||
//////////////////////////////////////////////////
|
||||
if (bytes <= 0) {
|
||||
if (errno != EAGAIN)
|
||||
if (errno != EAGAIN && errno != 0) // MSVC output "NoError" otherwise
|
||||
perror("FGMultiplayMgr::MP_ProcessData");
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue