Show
Ignore:
Timestamp:
12/23/07 14:12:23 (4 years ago)
Author:
rakshasa
Message:

* Refactoring utils::Directory.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/rtorrent/src/main.cc

    r1020 r1022  
    102102load_session_torrents(Control* c) { 
    103103  // Load session torrents. 
    104   std::list<std::string> l = c->core()->download_store()->get_formated_entries().make_list(); 
    105  
    106   for (std::list<std::string>::iterator first = l.begin(), last = l.end(); first != last; ++first) { 
     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) { 
    107107    core::DownloadFactory* f = new core::DownloadFactory(c->core()); 
    108108