* syslog.cc (syslog): Add users SID to NT syslog entry.

This commit is contained in:
Corinna Vinschen 2000-11-17 11:30:14 +00:00
parent 879c443594
commit 1126c2b042
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Fri Nov 17 12:28:00 2000 Corinna Vinschen <corinna@vinschen.de>
* syslog.cc (syslog): Add users SID to NT syslog entry.
Thu Nov 16 15:59:58 2000 Bradley A. Town <townba@pobox.com>
* fhandler_console.cc: New member variable `dwBufferSize' for `info'.

View File

@ -17,6 +17,7 @@ details. */
#include "fhandler.h"
#include "dtable.h"
#include "cygerrno.h"
#include "cygheap.h"
#include "thread.h"
/* FIXME: These should probably be in the registry. */
@ -348,7 +349,7 @@ syslog (int priority, const char *message, ...)
return;
}
ReportEventA (hEventSrc, eventType, 0, 0,
NULL, 1, 0, msg_strings, NULL);
cygheap->user.sid (), 1, 0, msg_strings, NULL);
DeregisterEventSource (hEventSrc);
}
else