diff options
author | Gerald Carter <jerry@samba.org> | 2006-08-29 16:05:01 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2006-08-29 16:05:01 +0000 |
commit | 8f38a34ca7082426e02a9c6be7b9672e7841622d (patch) | |
tree | 42919a87a3752f29ba6d2937e6dab67eddcb3f39 /source | |
parent | bd0d19d85626d78f0167a3ec0171cd3e1a7d1f44 (diff) | |
download | samba-8f38a34ca7082426e02a9c6be7b9672e7841622d.tar.gz samba-8f38a34ca7082426e02a9c6be7b9672e7841622d.tar.xz samba-8f38a34ca7082426e02a9c6be7b9672e7841622d.zip |
r17916: DLIST_REMOVE macro fix
Diffstat (limited to 'source')
-rw-r--r-- | source/include/dlinklist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/include/dlinklist.h b/source/include/dlinklist.h index c856aaa7625..daec7640e40 100644 --- a/source/include/dlinklist.h +++ b/source/include/dlinklist.h @@ -46,7 +46,7 @@ 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; \ } /* promote an element to the top of the list */ |