fix comparison bug
This commit is contained in:
parent
96a150deac
commit
cd8fa41253
|
@ -1,3 +1,4 @@
|
|||
* Fix comparison bug in fc_sort.
|
||||
* Fix handling of ordered and unordered HTML lists.
|
||||
* Corenetwork now supports multiple network interfaces having the
|
||||
same type.
|
||||
|
|
|
@ -104,7 +104,7 @@ int fc_compare(file_context_node_t *a, file_context_node_t *b)
|
|||
* length than the other. */
|
||||
if (a->str_len < b->str_len)
|
||||
return -1;
|
||||
if (b->str_len < b->str_len)
|
||||
if (b->str_len < a->str_len)
|
||||
return 1;
|
||||
|
||||
/* Check to see if either a or b has a specified type
|
||||
|
|
Loading…
Reference in New Issue