Show
Ignore:
Timestamp:
06/10/09 08:25:38 (3 years ago)
Author:
rakshasa
Message:

* Added flag to bencode when unordered bencoded strings are read.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/libtorrent/src/download/download_constructor.cc

    r1072 r1094  
    133133    throw internal_error("parse_info received an already initialized Content object."); 
    134134 
     135  if (b.flags() & Object::flag_unordered) 
     136    throw input_error("Download has unordered info dictionary."); 
     137 
    135138  uint32_t chunkSize = b.get_key_value("piece length"); 
    136139