Re: [hackers] [ii][PATCH] ewritestr: Remove duplicate shift of offset

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Sun, 5 Jul 2020 22:33:53 +0200

On Sun, Jul 05, 2020 at 07:39:19PM +0000, mizmar_AT_protonmail.com wrote:
> ---
> ii.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/ii.c b/ii.c
> index 7ca3ee8..426fcff 100644
> --- a/ii.c
> +++ b/ii.c
> _AT_@ -102,7 +102,6 @@ ewritestr(int fd, const char *s)
> for (off = 0; off < len; off += w) {
> if ((w = write(fd, s + off, len - off)) == -1)
> break;
> - off += w;
> }
> if (w == -1) {
> fprintf(stderr, "%s: write: %s\n", argv0, strerror(errno));
> --
> 2.25.1
>
>

Hi,

Applied and pushed, thanks!

-- 
Kind regards,
Hiltjo
Received on Sun Jul 05 2020 - 22:33:53 CEST

This archive was generated by hypermail 2.3.0 : Sun Jul 05 2020 - 22:36:34 CEST