From 480377e85366459fb7033dc1c2ca85ad0f871424 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Tue, 23 Sep 2008 19:16:02 +0000 Subject: * Fix a null reference exception that I introduced --- OpenSim/Framework/Servers/BaseHttpServer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs index aa73658..4fef477 100644 --- a/OpenSim/Framework/Servers/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/BaseHttpServer.cs @@ -390,7 +390,7 @@ namespace OpenSim.Framework.Servers return; } - if (request.AcceptTypes.Length > 0) + if (request.AcceptTypes != null && request.AcceptTypes.Length > 0) { foreach (string strAccept in request.AcceptTypes) { -- cgit v1.1