diff options
author | Teravus Ovares | 2008-09-23 19:16:02 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-09-23 19:16:02 +0000 |
commit | 480377e85366459fb7033dc1c2ca85ad0f871424 (patch) | |
tree | a830b3c109e54f89f013e19ea14c090533190d24 | |
parent | remove log4net references, see if that helps fix bamboo (diff) | |
download | opensim-SC-480377e85366459fb7033dc1c2ca85ad0f871424.zip opensim-SC-480377e85366459fb7033dc1c2ca85ad0f871424.tar.gz opensim-SC-480377e85366459fb7033dc1c2ca85ad0f871424.tar.bz2 opensim-SC-480377e85366459fb7033dc1c2ca85ad0f871424.tar.xz |
* Fix a null reference exception that I introduced
-rw-r--r-- | OpenSim/Framework/Servers/BaseHttpServer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
390 | return; | 390 | return; |
391 | } | 391 | } |
392 | 392 | ||
393 | if (request.AcceptTypes.Length > 0) | 393 | if (request.AcceptTypes != null && request.AcceptTypes.Length > 0) |
394 | { | 394 | { |
395 | foreach (string strAccept in request.AcceptTypes) | 395 | foreach (string strAccept in request.AcceptTypes) |
396 | { | 396 | { |