mirror of
https://github.com/znc/znc.git
synced 2026-05-03 20:12:29 +02:00
Remove useless spaces inside of braces "( stuff )"
This was generated via the following command:
cat <file> | \
tr "\n" "€"| \
sed -r 's/€[\t ]*\{€/ {€/g; s/\( */(/g; s/ *\)/)/g' | \
tr "€" "\n"
Thanks to SilverLeo for producing this mess :P
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1029 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -172,8 +172,8 @@ inline unsigned char* CString::strnchr(const unsigned char* src, unsigned char c
|
||||
return NULL;
|
||||
}
|
||||
|
||||
int CString::CaseCmp(const CString& s, u_long uLen ) const {
|
||||
if( uLen != CString::npos ) {
|
||||
int CString::CaseCmp(const CString& s, u_long uLen) const {
|
||||
if (uLen != CString::npos) {
|
||||
return strncasecmp(c_str(), s.c_str(), uLen);
|
||||
}
|
||||
return strcasecmp(c_str(), s.c_str());
|
||||
@@ -1027,7 +1027,7 @@ CString& MCString::Decode(CString& sValue) {
|
||||
if (*pTmp != '%') {
|
||||
sTmp += *pTmp++;
|
||||
} else {
|
||||
char ch = (char )strtol(((const char *)pTmp + 1), &endptr, 16);
|
||||
char ch = (char) strtol(pTmp + 1, &endptr, 16);
|
||||
if (*endptr == ';') {
|
||||
sTmp += ch;
|
||||
pTmp = ++endptr;
|
||||
|
||||
Reference in New Issue
Block a user