A log_event() call was inadvertently left in the code causing an error
to be set to the eventlog saying that ExpandEnvironmentStrings() had
failed when it had actually succeeded.
HeapFree(GetProcessHeap(), 0, buffer);\r
return 3;\r
}\r
- log_event(EVENTLOG_ERROR_TYPE, NSSM_EVENT_EXPANDENVIRONMENTSTRINGS_FAILED, buffer, data, GetLastError(), 0);\r
\r
HeapFree(GetProcessHeap(), 0, buffer);\r
return 0;\r