summaryrefslogtreecommitdiffstats
path: root/common/collection/collection_tools.c
diff options
context:
space:
mode:
authorDmitri Pal <dpal@redhat.com>2009-09-14 12:52:23 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-10-05 10:32:06 -0400
commita71c65a45586b3f6cd5032016621d41d62a8c4f0 (patch)
tree3cfa4bd303fcb5cdf9c540a7190eebb9768f961b /common/collection/collection_tools.c
parent4e0314ecad0fb649bcc2d6384a84ae818ef7c972 (diff)
downloadsssd-a71c65a45586b3f6cd5032016621d41d62a8c4f0.tar.gz
sssd-a71c65a45586b3f6cd5032016621d41d62a8c4f0.tar.xz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/collection/collection_tools.c b/common/collection/collection_tools.c
index c3f00eafb..503a1a8c4 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: