pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41f70a1
)
No inline declarations please.
author
Christoph Lohmann
<20h@r-36.net>
Fri, 10 Jul 2015 12:19:31 +0000
(14:19 +0200)
committer
Christoph Lohmann
<20h@r-36.net>
Fri, 10 Jul 2015 12:19:31 +0000
(14:19 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
486735d
..
8f28582
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-558,10
+558,10
@@
static int frclen = 0;
ssize_t
xwrite(int fd, const char *s, size_t len)
{
- size_t aux = len;
+ size_t aux = len
, r
;
while (len > 0) {
-
ssize_t
r = write(fd, s, len);
+ r = write(fd, s, len);
if (r < 0)
return r;
len -= r;