Werk #5417: Windows: allow whitespace in eventlog event source

KomponenteChecks & Agents
TitelWindows: allow whitespace in eventlog event source
Datum2017-12-19 10:07:58
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.2.8p27
LevelTrivial Change
KlasseBug Fix
KompatibilitätKompatibel - benötigt kein manuelles Eingreifen

In version 1.2.8, whitespace in event source name produced the error message "The system cannot find the path specified." The reason was premature formatting of the event source name for output by replacing spaces with underscore, which led to failure when trying to find the DLL for translating the eventlog message. The bug is no longer present in version 1.4.0.