- Switched to a more traditional error handling style with regard to MAD
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Thu, 21 May 2009 11:28:09 +0000 (11:28 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Thu, 21 May 2009 11:28:09 +0000 (11:28 +0000)
commitba38bf0e2343c8926670c11ca065bee7267add80
tree9c899912886771ccf29c74d9ff2cdb3c3487fd06
parent89913b2cb2b757683ab7aab7eb47829a6c6d8bfe
- Switched to a more traditional error handling style with regard to MAD
  handler registration: sport->mad_agent is now reset to NULL when MAD
  handler registration fails.
- Fixed bug in srpt_refresh_port(): this function now returns a negative
  value instead of zero when MAD registration fails.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@877 d57e44dd-8a1f-0410-8b47-8ef2f437770f
srpt/src/ib_srpt.c