Second part of fix for bug #5891 - smbd crashed when viewing the eventlog exported...