mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-24 04:03:34 -04:00
31 lines
791 B
Plaintext
31 lines
791 B
Plaintext
$NetBSD: patch-ak,v 1.1 2006/07/13 13:42:36 he Exp $
|
|
|
|
--- slpd/slpd_process.c.orig 2005-02-08 07:12:24.000000000 +0100
|
|
+++ slpd/slpd_process.c
|
|
@@ -1438,10 +1438,12 @@ int SLPDProcessMessage(struct sockaddr_i
|
|
break;
|
|
}
|
|
}
|
|
+#ifdef DEBUG
|
|
else
|
|
{
|
|
SLPDLogParseWarning(peerinfo, recvbuf);
|
|
}
|
|
+#endif
|
|
|
|
if (header.functionid == SLP_FUNCT_SRVREG ||
|
|
header.functionid == SLP_FUNCT_DAADVERT )
|
|
@@ -1470,10 +1472,12 @@ int SLPDProcessMessage(struct sockaddr_i
|
|
errorcode = SLP_ERROR_INTERNAL_ERROR;
|
|
}
|
|
}
|
|
+#ifdef DEBUG
|
|
else
|
|
{
|
|
SLPDLogParseWarning(peerinfo,recvbuf);
|
|
}
|
|
+#endif
|
|
|
|
FINISHED:
|
|
|