]> granicus.if.org Git - apache/commitdiff
Reduce the number of parameters on the event callback to avoid a protected
authorBradley Nicholes <bnicholes@apache.org>
Thu, 16 Jan 2003 23:31:35 +0000 (23:31 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Thu, 16 Jan 2003 23:31:35 +0000 (23:31 +0000)
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

index c934dd54e25f10d631e4b6470d7a608a82eea987..41cd69ae95283b8afda8450093032651cb79f0f2 100644 (file)
@@ -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,