mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +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()))
|
else if(!strcasecmp(replace.name.c_str(), name.c_str()))
|
||||||
newname = replace.name;
|
newname = replace.name;
|
||||||
}
|
}
|
||||||
|
if(!newname.empty()) {
|
||||||
}
|
printf("ReplaceProviderName: old [%s] new [%s]\n", name.c_str(), newname.c_str());
|
||||||
if(!newname.empty()) {
|
name = newname;
|
||||||
printf("ReplaceProviderName: old [%s] new [%s]\n", name.c_str(), newname.c_str());
|
return true;
|
||||||
name = newname;
|
}
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user