summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2011-12-02 10:24:30 -0500
committerStephen Gallagher <sgallagh@redhat.com>2011-12-05 11:51:55 -0500
commitd4d9091f705da146d549c31b62ebf21e863fbfcf (patch)
tree6df84d4ed29bbbec5be046caa8337bc5e941621a
parentb32159300fea63222d8dd9200ed634087704ea74 (diff)
downloadsssd-d4d9091f705da146d549c31b62ebf21e863fbfcf.tar.gz
sssd-d4d9091f705da146d549c31b62ebf21e863fbfcf.tar.xz
sssd-d4d9091f705da146d549c31b62ebf21e863fbfcf.zip
Fixed an error in macro for merging double linked lists
-rw-r--r--src/util/dlinklist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/dlinklist.h b/src/util/dlinklist.h
index f323de702..fa4b72255 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);