Introduction
Introduction Statistics Contact Development Disclaimer Help
blind-peek-head: fix minor compile-time bug - blind - suckless command-line vid…
git clone git://git.suckless.org/blind
Log
Files
Refs
README
LICENSE
---
commit 7fd0d921407ab77e67947a3e8ecd96686db25a6e
parent 881f7b4aa699291ae22db304dc9e259cb8331b58
Author: Mattias Andrée <[email protected]>
Date: Thu, 7 Dec 2017 17:55:46 +0100
blind-peek-head: fix minor compile-time bug
Signed-off-by: Mattias Andrée <[email protected]>
Diffstat:
M src/blind-peek-head.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/blind-peek-head.c b/src/blind-peek-head.c
@@ -115,7 +115,7 @@ main(int argc, char *argv[])
usleep(50000);
beginning:
last_len = len;
- len = peek(buf, n);
+ len = peek(buf, sizeof(buf));
p = memchr(buf, '\n', len);
if (p && len >= (size_t)(++p - buf) + ELEMENTSOF(magic))
goto ready;
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.