summaryrefslogtreecommitdiffstats
path: root/source4/include
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-08-28 12:15:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:16:50 -0500
commita93ad7490c5522095d433590b25ae83ccfe529c3 (patch)
treea515b331750bb201abecd66277b3c99fb2fb4b97 /source4/include
parent2b99336a56a47838510f9b8a01aab05363c424b6 (diff)
downloadsamba-a93ad7490c5522095d433590b25ae83ccfe529c3.tar.gz
samba-a93ad7490c5522095d433590b25ae83ccfe529c3.tar.xz
samba-a93ad7490c5522095d433590b25ae83ccfe529c3.zip
r17882: merge change from samba3
metze (This used to be commit eca7085850ba8475cc01dda1911c4222dd14c1a6)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/dlinklist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/include/dlinklist.h b/source4/include/dlinklist.h
index 176c138aafa..527b211cd34 100644
--- a/source4/include/dlinklist.h
+++ b/source4/include/dlinklist.h
@@ -46,7 +46,7 @@ do { \
if ((p)->prev) (p)->prev->next = (p)->next; \
if ((p)->next) (p)->next->prev = (p)->prev; \
} \
- if ((p) && ((p) != (list))) (p)->next = (p)->prev = NULL; \
+ if ((p) != (list)) (p)->next = (p)->prev = NULL; \
} while (0)
/* promote an element to the top of the list */