merged in differences from release branch
This commit is contained in:
@@ -63,10 +63,7 @@ void add_files(
|
||||
else
|
||||
{
|
||||
std::cerr << "adding \"" << l.string() << "\"\n";
|
||||
file fi(f, file::in);
|
||||
fi.seek(0, file::end);
|
||||
libtorrent::size_type size = fi.tell();
|
||||
t.add_file(l, size);
|
||||
t.add_file(l, file_size(f));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -82,8 +79,6 @@ int main(int argc, char* argv[])
|
||||
return 1;
|
||||
}
|
||||
|
||||
path::default_name_check(no_check);
|
||||
|
||||
try
|
||||
{
|
||||
torrent_info t;
|
||||
|
Reference in New Issue
Block a user