From: Bradley Nicholes Date: Thu, 16 Jan 2003 23:31:35 +0000 (+0000) Subject: Reduce the number of parameters on the event callback to avoid a protected X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c31a9328c9bee8a86e47766ad927f331d77437f1;p=apache 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 --- 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,