From 25282cfe235d3dceecd07ab98e90ce6c2cbde767 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Tue, 24 Nov 2015 02:32:11 +0100
Subject: degesch: fix a segfault-inducing typo in hooks
---
degesch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/degesch.c b/degesch.c
index 21be937..9b47373 100644
--- a/degesch.c
+++ b/degesch.c
@@ -1413,7 +1413,7 @@ hook_insert (struct hook *list, struct hook *item)
// Otherwise fast-forward to the last entry that precedes us
struct hook *before = list;
- while (before->next && before->next->priority < item->next->priority)
+ while (before->next && before->next->priority < item->priority)
before = before->next;
// And link ourselves in between it and its successor
--
cgit v1.2.3-70-g09d2