Fix problems in tests, fix issue in server.c (bug 581)

This commit is contained in:
counterpoint
2014-10-17 10:57:02 +01:00
parent 6041a7e12f
commit e8758d3678
3 changed files with 13 additions and 7 deletions

View File

@ -162,7 +162,7 @@ SERVER *server;
server = allServers;
while (server)
{
if (strcmp(server->unique_name, name) == 0)
if (server->unique_name && strcmp(server->unique_name, name) == 0)
break;
server = server->next;
}