Introduction
Introduction Statistics Contact Development Disclaimer Help
ewritestr: Remove duplicate shift of offset - ii - irc it, simple FIFO based ir…
git clone git://git.suckless.org/ii
Log
Files
Refs
README
LICENSE
---
commit ecf390259cfe193e7a41fbd1b7a4380621b8f677
parent 49e239fbb19f1dc880f269a1adb0543dadc1f4e9
Author: Hiltjo Posthuma <[email protected]>
Date: Sun, 5 Jul 2020 22:32:13 +0200
ewritestr: Remove duplicate shift of offset
Patch by [email protected], thanks.
Diffstat:
M ii.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));
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.