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:
psychon
2008-04-20 13:00:19 +00:00
parent 0470977497
commit b0a1714b86
18 changed files with 1017 additions and 1018 deletions

View File

@@ -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;