[os_csyslogd] fix pull request #246
Merge pull request #296 from cgzones/fix_pr246

[os_csyslogd] fix pull request #246