blob: 2d3f6d629439515ac28673ab518e8233ba190c65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
$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:
|