aewl

changeset 128:0a407fbb8092

serious mistake in pop() (forgot to set c->prev to NULL on pop)
author arg@10ksloc.org
date Thu, 20 Jul 2006 18:23:43 +0200
parents 1480e19f6377
children c478383db7c9
files client.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/client.c	Thu Jul 20 16:54:20 2006 +0200
     1.2 +++ b/client.c	Thu Jul 20 18:23:43 2006 +0200
     1.3 @@ -284,6 +284,7 @@
     1.4  		c->next->prev = c->prev;
     1.5  	*l = c->next;
     1.6  
     1.7 +	c->prev = NULL;
     1.8  	if(clients)
     1.9  		clients->prev = c;
    1.10  	c->next = clients;