From: <ult...@us...> - 2007-09-27 18:50:10
|
Revision: 799 http://opengate.svn.sourceforge.net/opengate/?rev=799&view=rev Author: ultrasick Date: 2007-09-27 11:50:12 -0700 (Thu, 27 Sep 2007) Log Message: ----------- corrected an error message Modified Paths: -------------- trunk/src/metaserver.cpp Modified: trunk/src/metaserver.cpp =================================================================== --- trunk/src/metaserver.cpp 2007-09-27 17:32:13 UTC (rev 798) +++ trunk/src/metaserver.cpp 2007-09-27 18:50:12 UTC (rev 799) @@ -178,8 +178,8 @@ case -1: log_->warn ( std::string ("no user_id given") ); return -3; case -2: log_->warn ( std::string ("no user_ip given") ); return -3; case -3: log_->warn ( std::string ("user_id doesn't exist") ); return -3; - case -4: log_->warn ( std::string ("password incorrect") ); return -3; - case -5: log_->warn ( std::string ("user was already offline") ); return -3; + case -4: log_->warn ( std::string ("user_ip incorrect") ); return -3; + case -5: log_->warn ( std::string ("user was already offline") ); return 1; default: if (returncode > 0) { return returncode; @@ -315,7 +315,7 @@ case -101: log_->warn ( std::string ("no action given") ); return -3; case -102: log_->warn ( std::string ("action given but unknown") ); return -3; case -103: log_->warn ( std::string ("database is not available") ); return -3; - case -14: log_->warn ( std::string ("ip was not a server") ); return -3; + case -14: log_->warn ( std::string ("ip was not a server") ); return -3; default: if (returncode > 0) { return returncode; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |