diff options
author | Dmitri Pal <dpal@redhat.com> | 2009-07-01 18:22:19 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-07-02 08:16:35 -0400 |
commit | 9a28c36d323c14e31a3895ffe7dc905b815291f8 (patch) | |
tree | 9f43b63b340092f9e63d7e403a36a22f51643124 /common/collection/collection_cnv.c | |
parent | 203d8d4ffb03897ab995bc2a6311f2a603245269 (diff) | |
download | sssd-9a28c36d323c14e31a3895ffe7dc905b815291f8.tar.gz sssd-9a28c36d323c14e31a3895ffe7dc905b815291f8.tar.xz sssd-9a28c36d323c14e31a3895ffe7dc905b815291f8.zip |
Queue and stack APIs using collection.
Patch adds two interfaces for stack and queue using
collection as underlaying implementation.
It also fixes a bug in the insterion code -
the unsigned properties were created as long.
Diffstat (limited to 'common/collection/collection_cnv.c')
-rw-r--r-- | common/collection/collection_cnv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/collection/collection_cnv.c b/common/collection/collection_cnv.c index ca9c483ed..1ead75f5a 100644 --- a/common/collection/collection_cnv.c +++ b/common/collection/collection_cnv.c @@ -151,7 +151,7 @@ int insert_unsigned_property(struct collection_item *ci, index, flags, property, - COL_TYPE_LONG, + COL_TYPE_UNSIGNED, (void *)&number, sizeof(unsigned), NULL); |