diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2010-10-28 08:24:48 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2010-10-28 08:24:48 (GMT) |
commit | 7537554040827dbaae327d27c77319e6b7e7c618 (patch) | |
tree | cda6f46bfd19fc1c7f9e851b3ff9be6b3f17db02 /src/network/socket | |
parent | f964de82d506a379b9d80b18025491aa3521a2c9 (diff) | |
download | Qt-7537554040827dbaae327d27c77319e6b7e7c618.zip Qt-7537554040827dbaae327d27c77319e6b7e7c618.tar.gz Qt-7537554040827dbaae327d27c77319e6b7e7c618.tar.bz2 |
Network code: Fix code comment spellchecking errors.
Me no speak americano.
Reviewed-by: Peter Hartmann
Diffstat (limited to 'src/network/socket')
-rw-r--r-- | src/network/socket/qlocalserver_unix.cpp | 2 | ||||
-rw-r--r-- | src/network/socket/qnativesocketengine_win.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/network/socket/qlocalserver_unix.cpp b/src/network/socket/qlocalserver_unix.cpp index 560f5f6..c218d89 100644 --- a/src/network/socket/qlocalserver_unix.cpp +++ b/src/network/socket/qlocalserver_unix.cpp @@ -119,7 +119,7 @@ bool QLocalServerPrivate::listen(const QString &requestedServerName) // subsequent call to accept will not block in any case // // This change can be removed once more generic fix to select thread - // syncronization problem is implemented. + // synchronization problem is implemented. int flags = fcntl(listenSocket, F_GETFL, 0); if (-1 == flags || -1 == (fcntl(listenSocket, F_SETFL, flags | O_NONBLOCK))) { diff --git a/src/network/socket/qnativesocketengine_win.cpp b/src/network/socket/qnativesocketengine_win.cpp index 477ef45..c1a4cfc 100644 --- a/src/network/socket/qnativesocketengine_win.cpp +++ b/src/network/socket/qnativesocketengine_win.cpp @@ -733,7 +733,7 @@ int QNativeSocketEnginePrivate::nativeAccept() { int acceptedDescriptor = WSAAccept(socketDescriptor, 0,0,0,0); if (acceptedDescriptor != -1 && QAbstractEventDispatcher::instance()) { - // Becuase of WSAAsyncSelect() WSAAccept returns a non blocking socket + // Because of WSAAsyncSelect() WSAAccept returns a non blocking socket // with the same attributes as the listening socket including the current // WSAAsyncSelect(). To be able to change the socket to blocking mode the // WSAAsyncSelect() call must be cancled. |