summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-07-02 12:06:04 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-07-02 12:06:04 (GMT)
commitb3a0229d70ac87d2ae1fd70a7489e3caf66a2f6f (patch)
tree172be839a5ec643bcbc98d3098cb2e84861531b6 /src/corelib
parentbd3c9e428af5a804fd4631c941fb642c99f6430b (diff)
downloadQt-b3a0229d70ac87d2ae1fd70a7489e3caf66a2f6f.zip
Qt-b3a0229d70ac87d2ae1fd70a7489e3caf66a2f6f.tar.gz
Qt-b3a0229d70ac87d2ae1fd70a7489e3caf66a2f6f.tar.bz2
Fix oops in strcmp in QBuffer.
Reported via qt-bugs. Reviewed-By: Peter Hartmann
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/io/qbuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qbuffer.cpp b/src/corelib/io/qbuffer.cpp
index aed5b82..3883d30 100644
--- a/src/corelib/io/qbuffer.cpp
+++ b/src/corelib/io/qbuffer.cpp
@@ -452,7 +452,7 @@ qint64 QBuffer::writeData(const char *data, qint64 len)
*/
void QBuffer::connectNotify(const char *signal)
{
- if (strcmp(signal + 1, "readyRead()") == 0 || strcmp(signal + 1, "bytesWritten(qint64)"))
+ if (strcmp(signal + 1, "readyRead()") == 0 || strcmp(signal + 1, "bytesWritten(qint64)") == 0)
d_func()->signalConnectionCount++;
}