Indent fix
This commit is contained in:
@@ -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*/
|
/*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) {
|
static int hash_stats_sort_to_order(void *_a, void *_b) {
|
||||||
struct hash_stats *a = (struct hash_stats*)_a;
|
struct hash_stats *a = (struct hash_stats*)_a;
|
||||||
struct hash_stats *b = (struct hash_stats*)_b;
|
struct hash_stats *b = (struct hash_stats*)_b;
|
||||||
|
|
||||||
return (a->occurency - b->occurency);
|
return (a->occurency - b->occurency);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* *********************************************** */
|
/* *********************************************** */
|
||||||
|
|
||||||
/*function to use in HASH_SORT function in verbose == 4 to print in decreasing order*/
|
/*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) {
|
static int hash_stats_sort_to_print(void *_a, void *_b) {
|
||||||
struct hash_stats *a = (struct hash_stats*)_a;
|
struct hash_stats *a = (struct hash_stats*)_a;
|
||||||
struct hash_stats *b = (struct hash_stats*)_b;
|
struct hash_stats *b = (struct hash_stats*)_b;
|
||||||
|
|
||||||
return (b->occurency - a->occurency);
|
return (b->occurency - a->occurency);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* *********************************************** */
|
/* *********************************************** */
|
||||||
|
|||||||
Reference in New Issue
Block a user