remove some debugging
This commit is contained in:
parent
57d4c1f30e
commit
f2479500fa
1 changed files with 0 additions and 3 deletions
|
|
@ -158,14 +158,11 @@ hreadbuf(Hio *h, void *vsave)
|
||||||
hh->pos += in;
|
hh->pos += in;
|
||||||
}
|
}
|
||||||
}else if(in){
|
}else if(in){
|
||||||
fprint(2, "read %d from %d\n", in, h->fd);
|
|
||||||
if((in = read(h->fd, h->start + cpy, in)) < 0){
|
if((in = read(h->fd, h->start + cpy, in)) < 0){
|
||||||
fprint(2, "got error: %r\n");
|
|
||||||
h->state = Herr;
|
h->state = Herr;
|
||||||
h->pos = h->stop;
|
h->pos = h->stop;
|
||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
fprint(2, "got %d\n", in);
|
|
||||||
}
|
}
|
||||||
if(in == 0)
|
if(in == 0)
|
||||||
h->state = Hend;
|
h->state = Hend;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue