Fix failing assertion in logger on Windows when the disk is full.

main
Marek Kurdej 9 years ago
parent 7699439b7c
commit 92d0850f1c
  1. 2
      port/win/win_logger.cc

@ -132,7 +132,7 @@ void WinLogger::Logv(const char* format, va_list ap) {
} }
flush_pending_ = true; flush_pending_ = true;
assert(bytesWritten == write_size); assert((bytesWritten == write_size) || (ret == FALSE));
if (bytesWritten > 0) { if (bytesWritten > 0) {
log_size_ += write_size; log_size_ += write_size;
} }

Loading…
Cancel
Save