aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client.c b/client.c
index 34c69aa..89ca5fb 100644
--- a/client.c
+++ b/client.c
@@ -284,6 +284,7 @@ pop(Client *c)
c->next->prev = c->prev;
*l = c->next;
+ c->prev = NULL;
if(clients)
clients->prev = c;
c->next = clients;
remember that computers suck.