~mdw
/
fwd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
chan.c (chan_open): Actually initialize the error indicator.
[fwd]
/
chan.c
diff --git
a/chan.c
b/chan.c
index
5fbecb1
..
9aa42a5
100644
(file)
--- a/
chan.c
+++ b/
chan.c
@@
-240,6
+240,7
@@
void chan_open(chan *c, int from, int to,
c->base = 0;
c->len = 0;
c->f = 0;
+ c->err = 0;
sel_initfile(sel, &c->r, from, SEL_READ, readchan, c);
sel_addfile(&c->r);