{
DownloadItems_t::iterator p = items_.find(info.hash);
if (p != items_.end()) {
+ if (info.is_new) {
+ qWarning() << "item with similar info hash marked as new";
+ }
updateItem_(p.value(), info, other_info);
} else {
+ if (!info.is_new) {
+ qDebug() << "torrent info arrived but there is no torrent for it";
+ return;
+ }
addItem_(info, other_info);
}
}