diff options
author | Chris Wilson <chris+github@qwirx.com> | 2012-02-02 22:18:44 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2012-02-02 22:18:44 +0000 |
commit | d73d72cc1518bba09d6966794f871c4ad88dbf5f (patch) | |
tree | a54be67bbf03c234d43e25bc78635c9f6ac8541f /bin/bbackupd/BackupDaemon.h | |
parent | a72010d60e5573ff3739e2dea6a25ebbdc6449bb (diff) |
If a location was not present (on disk) when bbackupd started, don't forget
about it but start backing it up if it appears subsequently.
Diffstat (limited to 'bin/bbackupd/BackupDaemon.h')
-rw-r--r-- | bin/bbackupd/BackupDaemon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/bbackupd/BackupDaemon.h b/bin/bbackupd/BackupDaemon.h index c584a2bd..5dd9c477 100644 --- a/bin/bbackupd/BackupDaemon.h +++ b/bin/bbackupd/BackupDaemon.h @@ -157,13 +157,13 @@ private: int UseScriptToSeeIfSyncAllowed(); public: - typedef const std::vector<Location *> Locations; + typedef std::list<Location *> Locations; Locations GetLocations() { return mLocations; } private: int mState; // what the daemon is currently doing - std::vector<Location *> mLocations; + Locations mLocations; std::vector<std::string> mIDMapMounts; std::vector<BackupClientInodeToIDMap *> mCurrentIDMaps; |