diff options
author | Jan Zeleny <jzeleny@redhat.com> | 2011-12-02 10:24:30 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-12-05 11:51:51 -0500 |
commit | 0047bb1592910bce3368a7acfa1f0368e84ee0c6 (patch) | |
tree | 69a2bc62099055b5dcaf7298fd813164d66363ff | |
parent | 39773c2220e06fee3fdbfa43155fbb909cddd6e0 (diff) | |
download | sssd_unused-0047bb1592910bce3368a7acfa1f0368e84ee0c6.tar.gz sssd_unused-0047bb1592910bce3368a7acfa1f0368e84ee0c6.tar.xz sssd_unused-0047bb1592910bce3368a7acfa1f0368e84ee0c6.zip |
Fixed an error in macro for merging double linked lists
-rw-r--r-- | src/util/dlinklist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/dlinklist.h b/src/util/dlinklist.h index f323de70..fa4b7225 100644 --- a/src/util/dlinklist.h +++ b/src/util/dlinklist.h @@ -122,7 +122,7 @@ do { \ (list2)->prev = (el); \ tmp->next = (el)->next; \ (el)->next = (list2); \ - if ((el)->next != NULL) (el)->next->prev = tmp; \ + if (tmp->next != NULL) tmp->next->prev = tmp; \ } \ } while (0); |