summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-02-06 08:14:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:34 -0500
commit0628d5fdeb9b21aae9f9e6980fb24d76062abd91 (patch)
treef2dfdf2839530f3195751c9a0906b6947db7281d /source4/include
parent7411bf6775e317a0395178ea829f0db70c942ebb (diff)
downloadsamba-0628d5fdeb9b21aae9f9e6980fb24d76062abd91.tar.gz
samba-0628d5fdeb9b21aae9f9e6980fb24d76062abd91.tar.bz2
samba-0628d5fdeb9b21aae9f9e6980fb24d76062abd91.zip
r5248: fixed a silly bug in DLIST_ADD_AFTER()
(This used to be commit e36b6882fdd1bb331f297b3b82bc3621b8ba0586)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/dlinklist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/include/dlinklist.h b/source4/include/dlinklist.h
index fbc7b43652..04e507947d 100644
--- a/source4/include/dlinklist.h
+++ b/source4/include/dlinklist.h
@@ -81,5 +81,6 @@ do { \
p->prev = el; \
p->next = el->next; \
el->next = p; \
+ if (p->next) p->next->prev = p; \
}\
} while (0)