From: Guus Sliepen Date: Tue, 13 Aug 2019 18:45:34 +0000 (+0200) Subject: Don't abort when UTCP_NO_PARTIAL is set. X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=d394c4f4f9b820cb1866046e21b834b67fd18ecb;p=utcp Don't abort when UTCP_NO_PARTIAL is set. --- 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;