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:
[CST] Focus
2012-01-20 14:20:11 +04:00
parent 6227aab4ad
commit 763c2080a6

View File

@@ -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;
}
}
return false;
}