summaryrefslogtreecommitdiff
path: root/win32/wsyslog.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/wsyslog.c')
-rw-r--r--win32/wsyslog.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/win32/wsyslog.c b/win32/wsyslog.c
index e13ef05d87..aebb42db62 100644
--- a/win32/wsyslog.c
+++ b/win32/wsyslog.c
@@ -95,10 +95,6 @@ void vsyslog(int priority, const char *message, va_list args)
DWORD evid;
wchar_t *strsw[2];
- /* default event source */
- if (INVALID_HANDLE_VALUE == PW32G(log_source))
- openlog("php", LOG_PID, LOG_SYSLOG);
-
switch (priority) { /* translate UNIX type into NT type */
case LOG_ALERT:
etype = EVENTLOG_ERROR_TYPE;