File openslp.dereg.diff of Package openslp

--- libslp/libslp_dereg.c.orig	2002-10-08 13:47:56.000000000 +0000
+++ libslp/libslp_dereg.c	2007-09-04 12:36:12.000000000 +0000
@@ -197,8 +197,8 @@ SLPError ProcessSrvDeReg(PSLPHandleInfo 
     /* Call the RqstRply engine */
     /*--------------------------*/
     sock = NetworkConnectToSA(handle,
-                              handle->params.reg.scopelist,
-                              handle->params.reg.scopelistlen,
+                              handle->params.dereg.scopelist,
+                              handle->params.dereg.scopelistlen,
                               &peeraddr);
     if(sock >= 0)
     {