From 567071e48a8e2f677198bd9fc0e6099f54730a56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 26 Jan 2021 20:48:56 +0100 Subject: [PATCH] selection: no xassert() in the releases/1.6 branch --- selection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selection.c b/selection.c index b1129152..4a63b538 100644 --- a/selection.c +++ b/selection.c @@ -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;