diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules/ContentManagementSystem/FileSystemDatabase.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/ContentManagementSystem/FileSystemDatabase.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/OptionalModules/ContentManagementSystem/FileSystemDatabase.cs b/OpenSim/Region/OptionalModules/ContentManagementSystem/FileSystemDatabase.cs index 9a91fbf..a3d7977 100644 --- a/OpenSim/Region/OptionalModules/ContentManagementSystem/FileSystemDatabase.cs +++ b/OpenSim/Region/OptionalModules/ContentManagementSystem/FileSystemDatabase.cs | |||
@@ -123,7 +123,7 @@ namespace OpenSim.Region.OptionalModules.ContentManagement | |||
123 | { | 123 | { |
124 | String filename = m_repodir + Slash.DirectorySeparatorChar + regionid + | 124 | String filename = m_repodir + Slash.DirectorySeparatorChar + regionid + |
125 | Slash.DirectorySeparatorChar + "heightmap.r32"; | 125 | Slash.DirectorySeparatorChar + "heightmap.r32"; |
126 | FileStream fs = new FileStream( filename, FileMode.Open); | 126 | FileStream fs = new FileStream(filename, FileMode.Open); |
127 | StreamReader sr = new StreamReader(fs); | 127 | StreamReader sr = new StreamReader(fs); |
128 | String result = sr.ReadToEnd(); | 128 | String result = sr.ReadToEnd(); |
129 | sr.Close(); | 129 | sr.Close(); |
@@ -135,7 +135,7 @@ namespace OpenSim.Region.OptionalModules.ContentManagement | |||
135 | { | 135 | { |
136 | String filename = m_repodir + Slash.DirectorySeparatorChar + regionid + | 136 | String filename = m_repodir + Slash.DirectorySeparatorChar + regionid + |
137 | Slash.DirectorySeparatorChar + "heightmap.r32"; | 137 | Slash.DirectorySeparatorChar + "heightmap.r32"; |
138 | FileStream fs = new FileStream( filename, FileMode.Open); | 138 | FileStream fs = new FileStream(filename, FileMode.Open); |
139 | StreamReader sr = new StreamReader(fs); | 139 | StreamReader sr = new StreamReader(fs); |
140 | String result = sr.ReadToEnd(); | 140 | String result = sr.ReadToEnd(); |
141 | sr.Close(); | 141 | sr.Close(); |
@@ -232,7 +232,7 @@ namespace OpenSim.Region.OptionalModules.ContentManagement | |||
232 | try | 232 | try |
233 | { | 233 | { |
234 | logLocation = revisionDir + Slash.DirectorySeparatorChar + "log"; | 234 | logLocation = revisionDir + Slash.DirectorySeparatorChar + "log"; |
235 | fs = new FileStream( logLocation, FileMode.Open); | 235 | fs = new FileStream(logLocation, FileMode.Open); |
236 | sr = new StreamReader(fs); | 236 | sr = new StreamReader(fs); |
237 | logMessage = sr.ReadToEnd(); | 237 | logMessage = sr.ReadToEnd(); |
238 | sr.Close(); | 238 | sr.Close(); |