diff --git a/server/gameserver/roommgr.cc b/server/gameserver/roommgr.cc index 9ec652d..c18c9fd 100644 --- a/server/gameserver/roommgr.cc +++ b/server/gameserver/roommgr.cc @@ -215,7 +215,7 @@ void RoomMgr::ReportServerState(int instance_id, const std::string& host, int po on_error, url.c_str(), *url_params, - rand() + rand() % kMAX_SYS_HTTP_NUM ); delete url_params; }