From 66da6c85e82eb1996ffdbcbf1814ebbdd340f6aa Mon Sep 17 00:00:00 2001 From: Alberto Massari Date: Tue, 17 Dec 2002 21:01:01 +0000 Subject: [PATCH] The handler for the server message get_next_hook was returning the module name of the current hook, instead of the next one. --- server/hook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/hook.c b/server/hook.c index 05eb3de1ac7..3a483c18f29 100644 --- a/server/hook.c +++ b/server/hook.c @@ -366,6 +366,6 @@ DECL_HANDLER(get_next_hook) reply->proc = next->proc; reply->prev_unicode = hook->unicode; reply->next_unicode = next->unicode; - if (hook->module) set_reply_data( hook->module, hook->module_size ); + if (next->module) set_reply_data( next->module, next->module_size ); } }