remove some debugging

This commit is contained in:
rsc 2004-05-20 18:17:35 +00:00
parent 57d4c1f30e
commit f2479500fa

View file

@ -158,14 +158,11 @@ hreadbuf(Hio *h, void *vsave)
hh->pos += in;
}
}else if(in){
fprint(2, "read %d from %d\n", in, h->fd);
if((in = read(h->fd, h->start + cpy, in)) < 0){
fprint(2, "got error: %r\n");
h->state = Herr;
h->pos = h->stop;
return nil;
}
fprint(2, "got %d\n", in);
}
if(in == 0)
h->state = Hend;