mirror of
https://github.com/znc/znc.git
synced 2026-05-09 23:04:47 +02:00
Merge rev 1034 from crox 'fixed parentheses'
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@845 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-1
@@ -146,7 +146,7 @@ private:
|
||||
void CShellSock::ReadLine(const CString& sData) {
|
||||
CString sLine = sData;
|
||||
|
||||
while ((sLine.length()) && (sLine[sLine.length() -1] == '\r') || (sLine[sLine.length() -1] == '\n')) {
|
||||
while (sLine.length() && (sLine[sLine.length() -1] == '\r' || sLine[sLine.length() -1] == '\n')) {
|
||||
sLine = sLine.substr(0, sLine.length() -1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user