Changeset 68986 in webkit


Ignore:
Timestamp:
Oct 3, 2010 2:22:44 AM (14 years ago)
Author:
abarth@webkit.org
Message:

2010-10-03 Adam Barth <abarth@webkit.org>

Reviewed by Holger Freyther.

ASSERT(m_state = Open); is bad news bears
https://bugs.webkit.org/show_bug.cgi?id=47057

Added by ap (review by darin) in http://trac.webkit.org/changeset/50951
Too bad the compiler doesn't catch these errors. I don't believe this
is possible to test.

  • platform/network/cf/SocketStreamHandleCFNet.cpp: (WebCore::SocketStreamHandle::writeStreamCallback):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r68985 r68986  
     12010-10-03  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Holger Freyther.
     4
     5        ASSERT(m_state = Open); is bad news bears
     6        https://bugs.webkit.org/show_bug.cgi?id=47057
     7
     8        Added by ap (review by darin) in http://trac.webkit.org/changeset/50951
     9        Too bad the compiler doesn't catch these errors.  I don't believe this
     10        is possible to test.
     11
     12        * platform/network/cf/SocketStreamHandleCFNet.cpp:
     13        (WebCore::SocketStreamHandle::writeStreamCallback):
     14
    1152010-10-03  Adam Barth  <abarth@webkit.org>
    216
  • trunk/WebCore/platform/network/cf/SocketStreamHandleCFNet.cpp

    r57232 r68986  
    566566        }
    567567
    568         ASSERT(m_state = Open);
     568        ASSERT(m_state == Open);
    569569        ASSERT(m_connectingSubstate == Connected);
    570570
Note: See TracChangeset for help on using the changeset viewer.