aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/ndpiReader.c')
-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);
}
/* *********************************************** */