From d394c4f4f9b820cb1866046e21b834b67fd18ecb Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Tue, 13 Aug 2019 20:45:34 +0200 Subject: [PATCH] Don't abort when UTCP_NO_PARTIAL is set. --- utcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utcp.c b/utcp.c index 5938ea5..3a29947 100644 --- a/utcp.c +++ b/utcp.c @@ -453,7 +453,7 @@ struct utcp_connection *utcp_connect_ex(struct utcp *utcp, uint16_t dst, utcp_re return NULL; } - assert((flags & ~0xf) == 0); + assert((flags & ~0x1f) == 0); c->flags = flags; c->recv = recv; -- 2.39.2