mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-02 07:15:31 -04:00
selection: no xassert() in the releases/1.6 branch
This commit is contained in:
parent
5db389da21
commit
567071e48a
1 changed files with 1 additions and 1 deletions
|
|
@ -1327,7 +1327,7 @@ fdm_receive(struct fdm *fdm, int fd, int events, void *data)
|
||||||
if (i + 1 < left && p[i + 1] == '\n') {
|
if (i + 1 < left && p[i + 1] == '\n') {
|
||||||
ctx->decoder(ctx, p, i + 1);
|
ctx->decoder(ctx, p, i + 1);
|
||||||
|
|
||||||
xassert(i + 2 <= left);
|
assert(i + 2 <= left);
|
||||||
p += i + 2;
|
p += i + 2;
|
||||||
left -= i + 2;
|
left -= i + 2;
|
||||||
goto again;
|
goto again;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue