| 103 | | // Load session torrents. |
| 104 | | std::vector<std::string> l = c->core()->download_store()->get_formated_entries().make_list(); |
| 105 | | |
| 106 | | for (std::vector<std::string>::iterator first = l.begin(), last = l.end(); first != last; ++first) { |
| | 103 | utils::Directory entries = c->core()->download_store()->get_formated_entries(); |
| | 104 | |
| | 105 | for (utils::Directory::const_iterator first = entries.begin(), last = entries.end(); first != last; ++first) { |
| | 106 | // We don't really support session torrents that are links. These |
| | 107 | // would be overwritten anyway on exit, and thus not really be |
| | 108 | // useful. |
| | 109 | if (!first->is_file()) |
| | 110 | continue; |
| | 111 | |