Author: tridge Date: 2005-02-06 08:14:44 +0000 (Sun, 06 Feb 2005) New Revision: 5248
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5248 Log: fixed a silly bug in DLIST_ADD_AFTER() Modified: branches/SAMBA_4_0/source/include/dlinklist.h Changeset: Modified: branches/SAMBA_4_0/source/include/dlinklist.h =================================================================== --- branches/SAMBA_4_0/source/include/dlinklist.h 2005-02-06 04:34:29 UTC (rev 5247) +++ branches/SAMBA_4_0/source/include/dlinklist.h 2005-02-06 08:14:44 UTC (rev 5248) @@ -81,5 +81,6 @@ p->prev = el; \ p->next = el->next; \ el->next = p; \ + if (p->next) p->next->prev = p; \ }\ } while (0)