Fix #176
Merge pull request #183 from cesanta/fix_176

Fix #176