blind

suckless command-line video editing utility
git clone git://git.suckless.org/blind
Log | Files | Refs | README | LICENSE

commit 969d96f8f5b66c43027422ed6a10dd02db53f1dc
parent c2cb6fc0ac9509cf5465f4962dc245a7615cd506
Author: Mattias Andrée <maandree@kth.se>
Date:   Mon,  3 Jul 2017 22:45:55 +0200

Fix return value of readall

Signed-off-by: Mattias Andrée <maandree@kth.se>

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

diff --git a/src/util.c b/src/util.c @@ -122,7 +122,7 @@ readall(int fd, void *buf, size_t n) break; ptr += (size_t)r; } - return r; + return ptr; } int