aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2023-02-27 12:20:06 +0100
committerLuca Deri <deri@ntop.org>2023-02-27 12:20:06 +0100
commit96f0f85e56a61fe26b240c3a0b68dcbf69a66e75 (patch)
tree815d07f9858a315ef39caa87d01ce385108560f2
parent6a2e8c9fb15671a754825da69d64d5b99dada038 (diff)
Indent fix
-rw-r--r--example/ndpiReader.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index 72e27baa7..5fea3b303 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -2676,20 +2676,20 @@ static void printRiskStats() {
/*function to use in HASH_SORT function in verbose == 4 to order in creasing order to delete host with the leatest occurency*/
static int hash_stats_sort_to_order(void *_a, void *_b) {
- struct hash_stats *a = (struct hash_stats*)_a;
- struct hash_stats *b = (struct hash_stats*)_b;
-
- return (a->occurency - b->occurency);
+ struct hash_stats *a = (struct hash_stats*)_a;
+ struct hash_stats *b = (struct hash_stats*)_b;
+
+ return (a->occurency - b->occurency);
}
/* *********************************************** */
/*function to use in HASH_SORT function in verbose == 4 to print in decreasing order*/
static int hash_stats_sort_to_print(void *_a, void *_b) {
- struct hash_stats *a = (struct hash_stats*)_a;
- struct hash_stats *b = (struct hash_stats*)_b;
-
- return (b->occurency - a->occurency);
+ struct hash_stats *a = (struct hash_stats*)_a;
+ struct hash_stats *b = (struct hash_stats*)_b;
+
+ return (b->occurency - a->occurency);
}
/* *********************************************** */