Fix sort_scores in the acro plugin - pass the correct number of array entries

to qsort() and properly reconstruct the list.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@224 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2013-01-04 10:11:32 +00:00
parent f51de3a170
commit a1ec2113e9
3 changed files with 40 additions and 29 deletions

View File

@@ -104,7 +104,6 @@ prec *take_acro(grec *, prec *, char *, char *, char *);
vrec *take_vote(grec *, vrec *, prec *, char *, char *, char *);
srec *end_vote(vrec *, prec *, srec *);
srec *sort_scores(srec *);
int comp_score(srec **one, srec **two);
void show_scores(grec *, srec *, srec *, char *);
int warn_acro(void *, char *);
int start_vote(void *, char *);