commit 78bec9a25839c4175349aabd6942f2919fccb371 parent cb9a65e91aef2c5bdf6dbd0eaac0abb5e6dabeb3 Author: hhvn <dev@hhvn.uk> Date: Wed, 17 Nov 2021 18:57:06 +0000 serv.c: = --> == Diffstat:
M | serv.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/serv.c b/serv.c @@ -179,7 +179,7 @@ serv_remove(struct Server **head, char *name) { if ((p = serv_get(head, name)) == NULL) return 0; - if (p->prev = NULL) { + if (p->prev == NULL) { *head = p->next; serv_free(p); return 1;