Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:napobear
kmldonkey
kmldonkey.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kmldonkey.diff of Package kmldonkey
diff -U 3 -H -d -r -- kmldonkey-2.1.5/libkmldonkey/donkeyprotocol.cpp kmldonkey-2.1.5.new/libkmldonkey/donkeyprotocol.cpp --- kmldonkey-2.1.5/libkmldonkey/donkeyprotocol.cpp 2012-11-28 11:10:20.000000000 +0100 +++ kmldonkey-2.1.5.new/libkmldonkey/donkeyprotocol.cpp 2012-11-28 19:52:08.000000000 +0100 @@ -604,10 +604,9 @@ if (isNew) { qDebug() << "File_info fileno=" << fn << "state=" << fi->fileState() << "isNew=" << isNew << "download=" << (download.contains(fn)?download[fn]->fileName():"") << "downloaded=" << (downloaded.contains(fn)?downloaded[fn]->fileName():""); emit fileAdded(fn, downloadstarted); - } else { - //qDebug() << "File_info fileno=" << fn << "state=" << fi->fileState() << "isNew=" << isNew << "download=" << (download.contains(fn)?download[fn]->fileName():"") << "downloaded=" << (downloaded.contains(fn)?downloaded[fn]->fileName():""); - emit fileUpdated(fn, File_info); } + //qDebug() << "File_info fileno=" << fn << "state=" << fi->fileState() << "isNew=" << isNew << "download=" << (download.contains(fn)?download[fn]->fileName():"") << "downloaded=" << (downloaded.contains(fn)?downloaded[fn]->fileName():""); + emit fileUpdated(fn, File_info); break; } } break; diff -U 3 -H -d -r -- kmldonkey-2.1.5/libkmldonkey/searchquery.cpp kmldonkey-2.1.5.new/libkmldonkey/searchquery.cpp --- kmldonkey-2.1.5/libkmldonkey/searchquery.cpp 2012-11-28 11:10:20.000000000 +0100 +++ kmldonkey-2.1.5.new/libkmldonkey/searchquery.cpp 2012-11-28 19:49:41.000000000 +0100 @@ -309,8 +309,10 @@ void SearchQueryList::writeQuery(DonkeyMessage& msg) { - SearchQuery::writeQuery(msg); - msg.writeInt16((int16)m_queryList.count()); + if(m_queryList.count()>1) { + SearchQuery::writeQuery(msg); + msg.writeInt16((int16)m_queryList.count()); + } foreach (SearchQuery *q, m_queryList) { q->writeQuery(msg); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor