diff options
| -rw-r--r-- | client.c | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -284,6 +284,7 @@ pop(Client *c) | |||
| 284 | c->next->prev = c->prev; | 284 | c->next->prev = c->prev; |
| 285 | *l = c->next; | 285 | *l = c->next; |
| 286 | 286 | ||
| 287 | c->prev = NULL; | ||
| 287 | if(clients) | 288 | if(clients) |
| 288 | clients->prev = c; | 289 | clients->prev = c; |
| 289 | c->next = clients; | 290 | c->next = clients; |
