ii

irc it, simple FIFO based irc client
git clone git://git.suckless.org/ii
Log | Files | Refs | README | LICENSE

commit ecf390259cfe193e7a41fbd1b7a4380621b8f677
parent 49e239fbb19f1dc880f269a1adb0543dadc1f4e9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun,  5 Jul 2020 22:32:13 +0200

ewritestr: Remove duplicate shift of offset

Patch by mizmar@protonmail.com, thanks.

Diffstat:
Mii.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/ii.c b/ii.c @@ -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));