summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-04-23 16:06:00 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-04-23 16:06:00 (GMT)
commit2bfde77e07c1de1866a1d171fc5dc5c584618e8e (patch)
treea38ead931add61ba1b8dbb2eb0ad495a59aaf35f /src/network
parentec2d71f0e4af0e0c286f0027d0242f456fdb2bb6 (diff)
parent5423ba187c62ea861ccfcc013fb15fcc4a5ae28d (diff)
downloadQt-2bfde77e07c1de1866a1d171fc5dc5c584618e8e.zip
Qt-2bfde77e07c1de1866a1d171fc5dc5c584618e8e.tar.gz
Qt-2bfde77e07c1de1866a1d171fc5dc5c584618e8e.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into windows-7-multitouch
Diffstat (limited to 'src/network')
-rw-r--r--src/network/socket/qlocalsocket_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/socket/qlocalsocket_win.cpp b/src/network/socket/qlocalsocket_win.cpp
index e759d0b..39c9284 100644
--- a/src/network/socket/qlocalsocket_win.cpp
+++ b/src/network/socket/qlocalsocket_win.cpp
@@ -298,7 +298,7 @@ qint64 QLocalSocketPrivate::bytesAvailable()
if (PeekNamedPipe(handle, NULL, 0, NULL, &bytes, NULL)) {
return bytes;
} else {
- if (ERROR_BROKEN_PIPE == GetLastError() && !pipeClosed) {
+ if (!pipeClosed) {
pipeClosed = true;
QTimer::singleShot(0, q, SLOT(_q_pipeClosed()));
}