v1.1.0 : Update Readme & Removed debug logs

This commit is contained in:
Brendan LE GLAUNEC
2016-10-28 10:53:41 +02:00
parent 58b101ed60
commit ecd318d0c2
3 changed files with 24 additions and 26 deletions
+1 -6
View File
@@ -65,12 +65,7 @@ brutelogs::test_ids(const etix::cameradar::stream_model& stream,
bool
ids_already_found(std::vector<stream_model> streams, stream_model stream) {
for (const auto& it : streams) {
if ((stream.address == it.address) && (stream.port == it.port) && it.ids_found) {
LOG_DEBUG_(">>>>>> PATH " + std::to_string(stream.path_found) + " IDS " +
std::to_string(stream.ids_found),
"wtf");
return true;
}
if ((stream.address == it.address) && (stream.port == it.port) && it.ids_found) return true;
}
return false;
}
+1 -5
View File
@@ -58,12 +58,8 @@ brutepath::test_path(const stream_model& stream, const std::string& route) const
bool
path_already_found(std::vector<stream_model> streams, stream_model model) {
for (const auto& stream : streams) {
if ((model.address == stream.address) && (model.port == stream.port) && stream.path_found) {
LOG_DEBUG_(">>>>>> PATH " + std::to_string(stream.path_found) + " IDS " +
std::to_string(stream.ids_found),
"wtf");
if ((model.address == stream.address) && (model.port == stream.port) && stream.path_found)
return true;
}
}
return false;
}