fix return value of pubUpdate() (fix #334)
Merge pull request #340 from ros/fix_pub_update_return_code

fix return value of pubUpdate() (fix #334)