Add Nick Sloan for his contribution to #17732
C89 declaration compliance
Issue #17981: Closed socket on error in SysLogHandler.