Silence two debug messages after they have cried a little bit.
Modified: trunk/reactos/lib/advapi32/sec/lsa.c
_____
Modified: trunk/reactos/lib/advapi32/sec/lsa.c
--- trunk/reactos/lib/advapi32/sec/lsa.c 2005-09-10 15:21:16 UTC
(rev 17779)
+++ trunk/reactos/lib/advapi32/sec/lsa.c 2005-09-10 15:30:21 UTC
(rev 17780)
@@ -28,7 +28,11 @@
NTSTATUS STDCALL
LsaClose(LSA_HANDLE ObjectHandle)
{
- DPRINT1("(%p):LsaClose stub\n",ObjectHandle);
+ static int count = 0;
+ if (count++ < 20)
+ {
+ DPRINT1("(%p):LsaClose stub\n",ObjectHandle);
+ }
return 0xc0000000;
}
@@ -217,7 +221,11 @@
ACCESS_MASK access,
PLSA_HANDLE PolicyHandle)
{
- DPRINT1("LsaOpenPolicy - stub\n");
+ static int count = 0;
+ if (count++ < 20)
+ {
+ DPRINT1("LsaOpenPolicy - stub\n");
+ }
return STATUS_SUCCESS;
}