(wrong string) ée

From: <git_AT_suckless.org>
Date: Thu, 7 Dec 2017 18:02:07 +0100 (CET)

commit 7fd0d921407ab77e67947a3e8ecd96686db25a6e
Author: Mattias Andrée <maandree_AT_kth.se>
AuthorDate: Thu Dec 7 17:55:46 2017 +0100
Commit: Mattias Andrée <maandree_AT_kth.se>
CommitDate: Thu Dec 7 17:55:51 2017 +0100

    blind-peek-head: fix minor compile-time bug
    
    Signed-off-by: Mattias Andrée <maandree_AT_kth.se>

diff --git a/src/blind-peek-head.c b/src/blind-peek-head.c
index 86c96b8..d33776b 100644
--- a/src/blind-peek-head.c
+++ b/src/blind-peek-head.c
_AT_@ -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;
Received on Thu Dec 07 2017 - 18:02:07 CET

This archive was generated by hypermail 2.3.0 : Thu Dec 07 2017 - 18:12:44 CET