From c31a9328c9bee8a86e47766ad927f331d77437f1 Mon Sep 17 00:00:00 2001 From: Bradley Nicholes Date: Thu, 16 Jan 2003 23:31:35 +0000 Subject: [PATCH] Reduce the number of parameters on the event callback to avoid a protected mode issue git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98299 13f79535-47bb-0310-9956-ffa450edef68 --- os/netware/util_nw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os/netware/util_nw.c b/os/netware/util_nw.c index c934dd54e2..41cd69ae95 100644 --- a/os/netware/util_nw.c +++ b/os/netware/util_nw.c @@ -83,7 +83,7 @@ int _NonAppCheckUnload( void ) } // down server event callback -void ap_down_server_cb(void *, void *, void*) +void ap_down_server_cb(void *, void *) { nlmUnloadSignaled(0); return; @@ -134,7 +134,7 @@ int _NonAppStart rtag_t rt = AllocateResourceTag(NLMHandle, "Apache2 Down Server Callback", EventSignature); - NX_WRAP_INTERFACE((void *)ap_down_server_cb, 3, (void **)&ref); + NX_WRAP_INTERFACE((void *)ap_down_server_cb, 2, (void **)&ref); NX_WRAP_INTERFACE((void *)ap_dummy_cb, 2, (void **)&dum); eh = RegisterForEventNotification(rt, EVENT_DOWN_SERVER, EVENT_PRIORITY_APPLICATION, -- 2.40.0