} while (ret == -1 && errno == EINTR);
if (ret == -1) {
- log_perror("pwrite");
+ log_perror("pwritev");
// Dazed and confused, but trying to continue...
return;
}
queued_data.push_back(iov);
} else {
- assert(encoding == Stream::STREAM_ENCODING_RAW);
+ assert(false);
}
}