Mercurial > hg > freeDiameter
comparison extensions/rt_randomize/rt_randomize.c @ 1391:a2e760b28cb6
rt_randomize: whitespace cleanup
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Fri, 15 Nov 2019 11:21:59 +0100 |
parents | 38e4a7c318ac |
children |
comparison
equal
deleted
inserted
replaced
1390:46656b52ae97 | 1391:a2e760b28cb6 |
---|---|
44 { | 44 { |
45 struct fd_list *lic; | 45 struct fd_list *lic; |
46 struct msg * msg = *pmsg; | 46 struct msg * msg = *pmsg; |
47 int max_score = -1; | 47 int max_score = -1; |
48 int max_score_count = 0; | 48 int max_score_count = 0; |
49 | 49 |
50 TRACE_ENTRY("%p %p %p", cbdata, msg, candidates); | 50 TRACE_ENTRY("%p %p %p", cbdata, msg, candidates); |
51 | 51 |
52 CHECK_PARAMS(msg && candidates); | 52 CHECK_PARAMS(msg && candidates); |
53 | 53 |
54 /* Check if it is worth processing the message */ | 54 /* Check if it is worth processing the message */ |
55 if (FD_IS_LIST_EMPTY(candidates)) | 55 if (FD_IS_LIST_EMPTY(candidates)) |
56 return 0; | 56 return 0; |
57 | 57 |
58 /* find out maximal score and how many candidates have it */ | 58 /* find out maximal score and how many candidates have it */ |