FreeBSD support and clean up of unnecessary ifdef FREEBSD

This commit is contained in:
Michael Cook
2013-05-11 14:32:14 -04:00
parent 9ea71dd94f
commit 73a4e87379
11 changed files with 33 additions and 12 deletions
-4
View File
@@ -12549,11 +12549,7 @@ void Client::Handle_OP_GuildCreate(const EQApplicationPacket *app)
//
char *GuildName = (char *)app->pBuffer;
#ifdef FREEBSD
if(strlen(GuildName) > 60)
#else
if(strnlen(GuildName, 64) > 60)
#endif
{
Message(clientMessageError, "Guild name too long.");
return;