Fix #174
Merge pull request #177 from cesanta/issue_174

Fix #174