* lib/commonio.c: Avoid multi-statements lines.

This commit is contained in:
nekral-guest 2010-08-20 18:09:14 +00:00
parent 11a564b6bd
commit 6b74294844
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-08-20 Nicolas François <nicolas.francois@centraliens.net>
* lib/commonio.c: Avoid multi-statements lines.
2010-08-20 Nicolas François <nicolas.francois@centraliens.net>
* man/po/fr.po: Fix a typo.

View File

@ -742,7 +742,8 @@ commonio_sort (struct commonio_db *db, int (*cmp) (const void *, const void *))
NULL != ptr;
#endif
ptr = ptr->next) {
entries[n++] = ptr;
entries[n] = ptr;
n++;
}
qsort (entries, n, sizeof (struct commonio_entry *), cmp);