File openslp.sendbuf_move.diff of Package openslp.7964

--- ./slpd/slpd_process.c.orig	2018-06-28 14:56:18.167429714 +0000
+++ ./slpd/slpd_process.c	2018-06-28 14:57:54.875193373 +0000
@@ -465,6 +465,8 @@ static int ProcessSrvRqst(SLPMessage * m
           */
          return errorcode;
       }
+      if (*sendbuf)
+         result = *sendbuf;
       goto RESPOND;
    }
    if (SLPCompareString(message->body.srvrqst.srvtypelen,
@@ -478,6 +480,8 @@ static int ProcessSrvRqst(SLPMessage * m
           */
          return errorcode;
       }
+      if (*sendbuf)
+         result = *sendbuf;
       goto RESPOND;
    }
 
openSUSE Build Service is sponsored by