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:
Carsten Haitzler 2017-02-07 22:07:53 +09:00
parent 6d458544a6
commit 50ab088f79
1 changed files with 1 additions and 0 deletions

View File

@ -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)
{