better logging in case of failure
@@ -125,7 +125,7 @@ static int tcp_hdone(struct hvfs *hvfs, int64_t deadline) {
if(dill_slow(rc < 0)) {
if(errno == ENOTCONN) {self->outerr = 1; errno = ECONNRESET; return -1;}
if(errno == ENOBUFS) {self->outerr = 1; errno = ENOMEM; return -1;}
- dill_assert(0);
+ dill_assert(rc == 0);
}
self->outdone = 1;
return 0;
