summaryrefslogtreecommitdiffstats
path: root/examples/network/networkprotocol
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/networkprotocol')
-rw-r--r--examples/network/networkprotocol/nntp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/networkprotocol/nntp.cpp b/examples/network/networkprotocol/nntp.cpp
index eccc1f974..6a4e1245a 100644
--- a/examples/network/networkprotocol/nntp.cpp
+++ b/examples/network/networkprotocol/nntp.cpp
@@ -103,7 +103,7 @@ void Nntp::close()
{
// close the command socket
if ( commandSocket->isOpen() ) {
- commandSocket->writeBlock( "tquit\r\n", strlen( "tquit\r\n" ) );
+ commandSocket->writeBlock( "quit\r\n", strlen( "quit\r\n" ) );
commandSocket->close();
}
}