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:47 -0500
commit000b68ccae459f3b09ee544b3ff678c555c2496b (patch)
tree19df7996e8a7d2ff2ae284be17b8b4dd7bdddad7
parent7cb5383dc99f74d373184ebcc568d32a5cbc0517 (diff)
downloadsssd_unused-000b68ccae459f3b09ee544b3ff678c555c2496b.tar.gz
sssd_unused-000b68ccae459f3b09ee544b3ff678c555c2496b.tar.xz
sssd_unused-000b68ccae459f3b09ee544b3ff678c555c2496b.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 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);