diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-11-24 02:32:11 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-11-24 02:32:11 +0100 |
commit | 25282cfe235d3dceecd07ab98e90ce6c2cbde767 (patch) | |
tree | 54986111fe3a55c38296cc697044cd0b47481614 /degesch.c | |
parent | 8187bedcb66203bb35b267dfeaa36984b3f03cc1 (diff) | |
download | xK-25282cfe235d3dceecd07ab98e90ce6c2cbde767.tar.gz xK-25282cfe235d3dceecd07ab98e90ce6c2cbde767.tar.xz xK-25282cfe235d3dceecd07ab98e90ce6c2cbde767.zip |
degesch: fix a segfault-inducing typo in hooks
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |