fix comparison bug

This commit is contained in:
Chris PeBenito 2005-08-01 15:49:05 +00:00
parent 96a150deac
commit cd8fa41253
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

@ -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