Skip to content

Commit c154ef5

Browse files
committed
Minor comments cleanup
1 parent 08657f9 commit c154ef5

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/ctelnet.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Copyright (C) 2014 by Ahmed Charles - acharles@outlook.com *
66
* Copyright (C) 2015 by Florian Scheel - keneanung@googlemail.com *
77
* Copyright (C) 2016 by Ian Adkins - ieadkins@gmail.com *
8+
* Copyright (C) 2017 by Michael Hupp (Darksix) - darksix@northfire.org *
89
* *
910
* This program is free software; you can redistribute it and/or modify *
1011
* it under the terms of the GNU General Public License as published by *
@@ -734,13 +735,13 @@ void cTelnet::processTelnetCommand( const string & command )
734735
{
735736
//MCCP->setMCCP1 (false);
736737
mMCCP_version_1 = false;
737-
mWaitingForCompressedStreamToStart = false; // Setting to false since it isn't ever supposed to turn back on -Darksix //
738+
mWaitingForCompressedStreamToStart = false; // Setting to false since it isn't ever supposed to turn back on
738739
qDebug() << "MCCP v1 disabled !";
739740
}
740741
if( option == OPT_COMPRESS2 )
741742
{
742743
mMCCP_version_2 = false;
743-
mWaitingForCompressedStreamToStart = false; // Setting to false since it isn't ever supposed to turn back on -Darksix //
744+
mWaitingForCompressedStreamToStart = false; // Setting to false since it isn't ever supposed to turn back on
744745
//MCCP->setMCCP2 (false);
745746
qDebug() << "MCCP v1 disabled !";
746747
}
@@ -1618,7 +1619,7 @@ int cTelnet::decompressBuffer( char *& in_buffer, int& length, char* out_buffer
16181619
{
16191620
if( zval < 0 )
16201621
{
1621-
mWaitingForCompressedStreamToStart = true; // Wasn't needed before, but is now. -Darksix //
1622+
mWaitingForCompressedStreamToStart = true; // Wasn't needed before, but is now (fixes MCCP toggling on/off)
16221623
initStreamDecompressor();
16231624
return -1;
16241625
}

0 commit comments

Comments
 (0)