degesch: fix a segfault-inducing typo in hooks
This commit is contained in:
		@@ -1413,7 +1413,7 @@ hook_insert (struct hook *list, struct hook *item)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	// Otherwise fast-forward to the last entry that precedes us
 | 
						// Otherwise fast-forward to the last entry that precedes us
 | 
				
			||||||
	struct hook *before = list;
 | 
						struct hook *before = list;
 | 
				
			||||||
	while (before->next && before->next->priority < item->next->priority)
 | 
						while (before->next && before->next->priority < item->priority)
 | 
				
			||||||
		before = before->next;
 | 
							before = before->next;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// And link ourselves in between it and its successor
 | 
						// And link ourselves in between it and its successor
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user