No bug - fix typo a=Aryx
authorAndreea Pavel <apavel@mozilla.com>
Sun, 17 Nov 2019 18:59:28 +0200
changeset 502498 20eeab9d1782c253e1d01fe5ffb978e2db47ef01
parent 502497 7c2b637d452d37a6ce4320eef98d3d41b0d601c5
child 502499 d6844fe546ad129a6b2c93dd2e70a75d40e7ffca
push id114172
push userdluca@mozilla.com
push dateTue, 19 Nov 2019 11:31:10 +0000
treeherdermozilla-inbound@b5c5ba07d3db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersAryx
milestone72.0a1
first release with
nightly linux32
20eeab9d1782 / 72.0a1 / 20191117170005 / files
nightly linux64
20eeab9d1782 / 72.0a1 / 20191117170005 / files
nightly mac
20eeab9d1782 / 72.0a1 / 20191117170005 / files
nightly win32
20eeab9d1782 / 72.0a1 / 20191117170005 / files
nightly win64
20eeab9d1782 / 72.0a1 / 20191117170005 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
No bug - fix typo a=Aryx
netwerk/base/nsBufferedStreams.cpp
--- a/netwerk/base/nsBufferedStreams.cpp
+++ b/netwerk/base/nsBufferedStreams.cpp
@@ -922,17 +922,17 @@ nsBufferedOutputStream::Close() {
 
 NS_IMETHODIMP
 nsBufferedOutputStream::Write(const char* buf, uint32_t count,
                               uint32_t* result) {
   nsresult rv = NS_OK;
   uint32_t written = 0;
   *result = 0;
   if (!mStream) {
-    // We special case this situtaion.
+    // We special case this situation.
     // We should catch the failure, NS_BASE_STREAM_CLOSED ASAP, here.
     // If we don't, eventually Flush() is called in the while loop below
     // after so many writes.
     // However, Flush() returns NS_OK when mStream is null (!!),
     // and we don't get a meaningful error, NS_BASE_STREAM_CLOSED,
     // soon enough when we use buffered output.
 #ifdef DEBUG
     NS_WARNING(