abduco

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit 1f1c02a3b0bbd3a88bf6b4a8ae235a07721ea5eb
parent 482237919b80fb4846460e00ebfa326b22ee6207
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Tue, 27 Jun 2017 08:50:10 +0200

Avoid use of BUFSIZ to guarantee system independent package size

Diffstat:
abduco.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abduco.c b/abduco.c @@ -75,7 +75,7 @@ typedef struct { uint32_t type; uint32_t len; union { - char msg[BUFSIZ]; + char msg[4096 - 2*sizeof(uint32_t)]; struct { uint16_t rows; uint16_t cols;