Fix return value of readall - blind - suckless command-line video editing utility
 (HTM) git clone git://git.suckless.org/blind
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 969d96f8f5b66c43027422ed6a10dd02db53f1dc
 (DIR) parent c2cb6fc0ac9509cf5465f4962dc245a7615cd506
 (HTM) 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:
         M src/util.c                          |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) 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