aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorSean McNamara2011-02-19 20:15:38 -0500
committerSean McNamara2011-02-19 20:15:38 -0500
commitdfa63ff0313610e1c2d262f7e660af94134159f6 (patch)
tree3bc050f121abfdee6238ac2fc06dee54e3935e02 /OpenSim/Region
parentFirst cut of AutoBackupModule; only compile-tested so far (diff)
downloadopensim-SC_OLD-dfa63ff0313610e1c2d262f7e660af94134159f6.zip
opensim-SC_OLD-dfa63ff0313610e1c2d262f7e660af94134159f6.tar.gz
opensim-SC_OLD-dfa63ff0313610e1c2d262f7e660af94134159f6.tar.bz2
opensim-SC_OLD-dfa63ff0313610e1c2d262f7e660af94134159f6.tar.xz
Let GetNextFile do all the string-building work for SEQUENTIAL.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/OptionalModules/World/AutoBackup/AutoBackupModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/World/AutoBackup/AutoBackupModule.cs b/OpenSim/Region/OptionalModules/World/AutoBackup/AutoBackupModule.cs
index ed21e41..f8d9060 100644
--- a/OpenSim/Region/OptionalModules/World/AutoBackup/AutoBackupModule.cs
+++ b/OpenSim/Region/OptionalModules/World/AutoBackup/AutoBackupModule.cs
@@ -364,7 +364,7 @@ namespace OpenSim.Region.OptionalModules.World.AutoBackup
364 path = new FileInfo(baseDir + Path.DirectorySeparatorChar + regionName + GetTimeString() + ".oar"); 364 path = new FileInfo(baseDir + Path.DirectorySeparatorChar + regionName + GetTimeString() + ".oar");
365 return path.FullName; 365 return path.FullName;
366 case NamingType.SEQUENTIAL: 366 case NamingType.SEQUENTIAL:
367 path = new FileInfo(baseDir + Path.DirectorySeparatorChar + regionName + "_" + GetNextFile(baseDir, regionName) + ".oar"); 367 path = new FileInfo(GetNextFile(baseDir, regionName));
368 return path.FullName; 368 return path.FullName;
369 default: 369 default:
370 m_log.Warn("VERY BAD: Unhandled case element " + naming.ToString()); 370 m_log.Warn("VERY BAD: Unhandled case element " + naming.ToString());