Instead of sending the NOP command to process pending status messages
commitf6e3e6eae58e5cd3fbcd0ae8497bc1324caf2bd3
authorBen Kibbey <bjk@luxsci.net>
Sat, 11 Apr 2009 15:00:47 +0000 (11 11:00 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sat, 11 Apr 2009 15:00:47 +0000 (11 11:00 -0400)
tree0d57016a42b88e8ad11bf81ab72ebcde156a4c48
parent7834dc9877bfc630d24724c3cca4279f694c0001
Instead of sending the NOP command to process pending status messages
when not in an asynchornous command, poll the socket FD instead and
process the pending lines like pwmd_open_async() and pwmd_save_async()
do.

Check the return value from the status callback for an error.
src/libpwmd.c