Fixed #308 - Check for socket error before casting
Robert Nelson
Branch: rdnelson/monit:expect_over_0x80
Branch: tildeslash/monit:master
Merged
Merged pull request
Merged in rdnelson/monit/expect_over_0x80 (pull request #30)
Merged in rdnelson/monit/expect_over_0x80 (pull request #30)
This checks the error with the full integer value before casting the return to a byte and storing it in the buffer.