(wrong string) ée

From: <git_AT_suckless.org>
Date: Mon, 3 Jul 2017 22:46:04 +0200 (CEST)

commit 969d96f8f5b66c43027422ed6a10dd02db53f1dc
Author: Mattias Andrée <maandree_AT_kth.se>
AuthorDate: Mon Jul 3 22:45:55 2017 +0200
Commit: Mattias Andrée <maandree_AT_kth.se>
CommitDate: Mon Jul 3 22:45:55 2017 +0200

    Fix return value of readall
    
    Signed-off-by: Mattias Andrée <maandree_AT_kth.se>

diff --git a/src/util.c b/src/util.c
index e4544ca..7746adb 100644
--- a/src/util.c
+++ b/src/util.c
_AT_@ -122,7 +122,7 @@ readall(int fd, void *buf, size_t n)
                         break;
                 ptr += (size_t)r;
         }
- return r;
+ return ptr;
 }
 
 int
Received on Mon Jul 03 2017 - 22:46:04 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 03 2017 - 22:49:11 CEST