fixed int32's that test against npos to string::size_type

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@105 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
imaginos
2005-04-04 06:35:19 +00:00
parent d7e90add33
commit d68cd90e7c
4 changed files with 14 additions and 5 deletions
+4 -1
View File
@@ -14,6 +14,9 @@
* Author: imaginos <imaginos@imaginos.net>
*
* $Log$
* Revision 1.2 2005/04/04 06:35:19 imaginos
* fixed int32's that test against npos to string::size_type
*
* Revision 1.1 2005/03/30 18:46:35 imaginos
* moving to standard makefile system, and cpp only extension
*
@@ -218,7 +221,7 @@ private:
void CEmail::OnModCommand( const string& sCommand )
{
u_int iPos = sCommand.find( " " );
string::size_type iPos = sCommand.find( " " );
string sCom, sArgs;
if ( iPos == string::npos )
sCom = sCommand;