diff options
author | Jeff Ames | 2007-12-06 01:41:41 +0000 |
---|---|---|
committer | Jeff Ames | 2007-12-06 01:41:41 +0000 |
commit | 4bde56457f574060c1aaaca8effba1f6fe00b6c7 (patch) | |
tree | 60c081be8f3d00da63940efd81ce88de6fe1f2a5 /OpenSim/Grid/AssetServer/Main.cs | |
parent | Some refactoring of the RestObjectPoster (and related classes). (diff) | |
download | opensim-SC-4bde56457f574060c1aaaca8effba1f6fe00b6c7.zip opensim-SC-4bde56457f574060c1aaaca8effba1f6fe00b6c7.tar.gz opensim-SC-4bde56457f574060c1aaaca8effba1f6fe00b6c7.tar.bz2 opensim-SC-4bde56457f574060c1aaaca8effba1f6fe00b6c7.tar.xz |
removed some duplicate hard-coded port numbers. changed ports to uint.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Grid/AssetServer/Main.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Grid/AssetServer/Main.cs b/OpenSim/Grid/AssetServer/Main.cs index 61427fa..c973f99 100644 --- a/OpenSim/Grid/AssetServer/Main.cs +++ b/OpenSim/Grid/AssetServer/Main.cs | |||
@@ -92,7 +92,7 @@ namespace OpenSim.Grid.AssetServer | |||
92 | LoadDefaultAssets(); | 92 | LoadDefaultAssets(); |
93 | 93 | ||
94 | m_console.Verbose("ASSET", "Starting HTTP process"); | 94 | m_console.Verbose("ASSET", "Starting HTTP process"); |
95 | BaseHttpServer httpServer = new BaseHttpServer((int) m_config.HttpPort); | 95 | BaseHttpServer httpServer = new BaseHttpServer(m_config.HttpPort); |
96 | 96 | ||
97 | httpServer.AddStreamHandler(new GetAssetStreamHandler(this, m_assetProvider)); | 97 | httpServer.AddStreamHandler(new GetAssetStreamHandler(this, m_assetProvider)); |
98 | httpServer.AddStreamHandler(new PostAssetStreamHandler(this, m_assetProvider)); | 98 | httpServer.AddStreamHandler(new PostAssetStreamHandler(this, m_assetProvider)); |