Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix return value of readall - blind - suckless command-line video editing utili…
git clone git://git.suckless.org/blind
Log
Files
Refs
README
LICENSE
---
commit 969d96f8f5b66c43027422ed6a10dd02db53f1dc
parent c2cb6fc0ac9509cf5465f4962dc245a7615cd506
Author: Mattias Andrée <[email protected]>
Date: Mon, 3 Jul 2017 22:45:55 +0200
Fix return value of readall
Signed-off-by: Mattias Andrée <[email protected]>
Diffstat:
M src/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
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.