diff options
author | Dmitri Pal <dpal@redhat.com> | 2009-09-14 12:52:23 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-10-05 10:32:06 -0400 |
commit | a71c65a45586b3f6cd5032016621d41d62a8c4f0 (patch) | |
tree | 3cfa4bd303fcb5cdf9c540a7190eebb9768f961b /common/collection/collection_tools.c | |
parent | 4e0314ecad0fb649bcc2d6384a84ae818ef7c972 (diff) | |
download | sssd-a71c65a45586b3f6cd5032016621d41d62a8c4f0.tar.gz sssd-a71c65a45586b3f6cd5032016621d41d62a8c4f0.tar.bz2 sssd-a71c65a45586b3f6cd5032016621d41d62a8c4f0.zip |
COLLECTION Adding item comparison and sorting
Needed item comparison functions and realized
that the easiest way to test them would be using
sorting. Since there already been a ticket #73
to do that I added function to sort collection
based on different properties of the item.
COLLECTION Fixing issues with comparisons
COLLECTION Adding do-while to macro
Diffstat (limited to 'common/collection/collection_tools.c')
-rw-r--r-- | common/collection/collection_tools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/collection/collection_tools.c b/common/collection/collection_tools.c index c3f00eaf..503a1a8c 100644 --- a/common/collection/collection_tools.c +++ b/common/collection/collection_tools.c @@ -117,7 +117,7 @@ int col_debug_handle(const char *property, (nest_level -1) * 4, "", property, length, - (*((unsigned char *)(data)) == '\0') ? "flase" : "true", + (*((unsigned char *)(data)) == '\0') ? "false" : "true", nest_level); break; case COL_TYPE_COLLECTION: |