mirror of https://github.com/procxx/kepka.git
parent
1df1b9fb53
commit
14aa455164
|
@ -3158,7 +3158,7 @@ void writeFileLocation(MediaKey location, const FileLocation &local) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (i.value().first != location) {
|
if (i.value().first != location) {
|
||||||
for (FileLocations::iterator j = _fileLocations.find(i.value().first), e = _fileLocations.end(); (j != e) && (j.key() == i.value().first);) {
|
for (FileLocations::iterator j = _fileLocations.find(i.value().first), e = _fileLocations.end(); (j != e) && (j.key() == i.value().first); ++j) {
|
||||||
if (j.value() == i.value().second) {
|
if (j.value() == i.value().second) {
|
||||||
_fileLocations.erase(j);
|
_fileLocations.erase(j);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue