1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 19:29:09 +00:00

fix for g++:

fix plVault LogMsg calls + remove useless wide char usage
	fix usage of plAvatarMgr::FindAvatar() and plLinkEffectsTriggerMsg::SetLinkKey() with temporary variables
	plNetServerSessionInfo.h need std::string
	fix plProgressMgr.h: NumLoadingFrames() have an useless class context information
	fix plSocket usage of non-standard NULL
This commit is contained in:
Vincent Munsch
2014-04-16 18:13:40 +02:00
parent 683945fb7d
commit a1edba6267
8 changed files with 13 additions and 12 deletions

View File

@ -151,7 +151,7 @@ bool plSocket::IsBlocking()
#ifdef BSDBLOCK
#error "BSDBLOCK: TODO: IsBlocking() for bsd."
#else
int ans = plNet::Ioctl(fSocket,FIONBIO,NULL);
int ans = plNet::Ioctl(fSocket,FIONBIO,nullptr);
return (ans!=0);
#endif
}
@ -208,4 +208,4 @@ int plSocket::IGetTimeOutsFromSocket()
fSendTimeOut = stimeoutval;
}
return 0;
}
}