selection: no xassert() in the releases/1.6 branch

This commit is contained in:
Daniel Eklöf 2021-01-26 20:48:56 +01:00
parent 5db389da21
commit 567071e48a
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -1327,7 +1327,7 @@ fdm_receive(struct fdm *fdm, int fd, int events, void *data)
if (i + 1 < left && p[i + 1] == '\n') {
ctx->decoder(ctx, p, i + 1);
xassert(i + 2 <= left);
assert(i + 2 <= left);
p += i + 2;
left -= i + 2;
goto again;