mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-22 10:45:57 +00:00
Fixes a missing parentheses in a branch
This commit is contained in:
parent
98053a8917
commit
9c19dee6bf
2 changed files with 6 additions and 6 deletions
|
|
@ -222,10 +222,11 @@ bool Recipients::empty() {
|
|||
m.lock(__FILE__, __LINE__);
|
||||
|
||||
for(int recipient_id = 0; recipient_id < MAX_NUM_RECIPIENTS; recipient_id++) {
|
||||
if(recipient_queues[recipient_id])
|
||||
if(!recipient_queues[recipient_id]->empty()) {
|
||||
res = false;
|
||||
break;
|
||||
if(recipient_queues[recipient_id]) {
|
||||
if(!recipient_queues[recipient_id]->empty()) {
|
||||
res = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -25,8 +25,7 @@
|
|||
/* ***************************************************** */
|
||||
|
||||
void FlowRisk::protocolDetected(Flow *f) {
|
||||
if (f->hasRisk(handledRisk())) {
|
||||
ntop->getTrace()->traceEvent(TRACE_NORMAL, "Hanlding risk %s", ndpi_risk2str((ndpi_risk_enum)handledRisk()));
|
||||
if(f->hasRisk(handledRisk())) {
|
||||
u_int16_t cli_score, srv_score;
|
||||
ndpi_risk risk_bitmap = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue