update of stylesheet; ported to new make install of eogd; minor changes

This commit is contained in:
horchi
2016-06-01 10:18:45 +02:00
parent 34298b6bc4
commit 5f062bc796
4 changed files with 205 additions and 334 deletions

6
tvsp.c
View File

@@ -263,7 +263,9 @@ int Tvsp::processDay(int day, int fullupdate, Statistic *stat) {
}
obj->connection->commit();
downloadImages();
if (!obj->doShutDown())
downloadImages();
return success;
}
@@ -450,7 +452,7 @@ void Tvsp::downloadImages() {
tell(0, "Downloading images...");
int n = 0;
for (std::set<std::string>::iterator it = imagefileSet.begin(); it != imagefileSet.end(); ++it) {
for (std::set<std::string>::iterator it = imagefileSet.begin(); it != imagefileSet.end() && !obj->doShutDown(); ++it) {
// check if file is not on disk
std::size_t found = it->find_last_of("/");
if (found == std::string::npos) continue;