mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
getservices: break provider replace search when first replace found
Origin commit data
------------------
Branch: ni/coolstream
Commit: b95f33c56d
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-01-20 (Fri, 20 Jan 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -980,12 +980,11 @@ bool CServiceManager::ReplaceProviderName(std::string &name, t_transport_stream_
|
||||
else if(!strcasecmp(replace.name.c_str(), name.c_str()))
|
||||
newname = replace.name;
|
||||
}
|
||||
|
||||
}
|
||||
if(!newname.empty()) {
|
||||
printf("ReplaceProviderName: old [%s] new [%s]\n", name.c_str(), newname.c_str());
|
||||
name = newname;
|
||||
return true;
|
||||
if(!newname.empty()) {
|
||||
printf("ReplaceProviderName: old [%s] new [%s]\n", name.c_str(), newname.c_str());
|
||||
name = newname;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user