Merge pull request #72 from andywolk/verto

[mod_verto] Ignore not just zero but negative frame size as well.
This commit is contained in:
Andrey Volk 2019-10-25 02:10:27 +04:00 committed by GitHub
commit 31d6676706
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1922,7 +1922,7 @@ static void client_run(jsock_t *jsock)
int rem = 0;
int dur = 0, j = 0;
if (!(size = atoi(p))) {
if ((size = atoi(p)) <= 0) {
continue;
}