From bca76b91b38b6d6d0a0991a9c2cfb077f4f80705 Mon Sep 17 00:00:00 2001 From: Peter Haag Date: Sat, 7 May 2016 10:59:48 +0200 Subject: [PATCH] Cleanup code in netflow_v9.c --- bin/netflow_v9.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/netflow_v9.c b/bin/netflow_v9.c index 55386c7..fd80124 100644 --- a/bin/netflow_v9.c +++ b/bin/netflow_v9.c @@ -1528,13 +1528,13 @@ char *string; while (size_left) { common_record_t *data_record; - if ( (table->input_record_size == 0 )) { + if ( table->input_record_size == 0 ) { LogError("Process_v9: Corrupt data flowset? table input_record_sizei = 0 "); size_left = 0; continue; } - if ( (size_left < table->input_record_size) ) { + if ( size_left < table->input_record_size ) { if ( size_left > 3 ) { LogError("Process_v9: Corrupt data flowset? Pad bytes: %u", size_left); dbg_printf("Process_v9: Corrupt data flowset? Pad bytes: %u, table record_size: %u\n",