forked from enlightenment/efl
evas cserve client - fix theoretical size less than 0 issue
theoretically size might be zero but it won't be... but make coverity happy so it doesn't come back to triage fix CID 1361430
This commit is contained in:
parent
6d458544a6
commit
50ab088f79
|
@ -417,6 +417,7 @@ int main(void)
|
|||
}
|
||||
|
||||
msg = _msg_types[i].parse_func(&size);
|
||||
if (size <= 0) continue;
|
||||
|
||||
if (send(s, &size, sizeof(size), MSG_NOSIGNAL) == -1)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue