Merge pull request #918 from mkurdej/fix/assertion-on-no-disk-space

Fix failing assertion in logger on Windows when the disk is full.
main
Igor Canadi 9 years ago
commit 1627c4b1b3
  1. 2
      port/win/win_logger.cc

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

Loading…
Cancel
Save