Fixed some trailing whitespace / tab mixups and adjusted MD5.cpp to our coding guidelines.

This commit includes absolutely no changes in functionality, only pure cleanup.

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1215 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
kroimon
2008-09-26 12:51:36 +00:00
parent 83dc2d9bd3
commit 6766b32e1b
3 changed files with 217 additions and 237 deletions
+2 -2
View File
@@ -143,7 +143,7 @@ CString::CString(double i) : string() { stringstream s; s << i; *this = s.str();
CString::CString(float i) : string() { stringstream s; s << i; *this = s.str(); }
inline unsigned char* CString::strnchr(const unsigned char* src, unsigned char c, unsigned int iMaxBytes, unsigned char* pFill, unsigned int* piCount) const {
for (unsigned int a = 0; a < iMaxBytes && *src; a++, src++) {
for (unsigned int a = 0; a < iMaxBytes && *src; a++, src++) {
if (pFill) {
pFill[a] = *src;
}
@@ -169,7 +169,7 @@ inline unsigned char* CString::strnchr(const unsigned char* src, unsigned char c
*piCount = 0;
}
return NULL;
return NULL;
}
int CString::CaseCmp(const CString& s, u_long uLen) const {