Fix transmit error reporting.

This commit is contained in:
px4dev
2012-11-03 01:14:24 -07:00
parent c8e90688b0
commit e36bd4b243
2 changed files with 6 additions and 8 deletions
+1 -2
View File
@@ -102,8 +102,7 @@ __EXPORT extern void hx_stream_set_counters(hx_stream_t stream,
* @param stream A handle returned from hx_stream_init.
* @param data Pointer to the data to send.
* @param count The number of bytes to send.
* @return Zero on success, nonzero with errno
* set on error.
* @return Zero on success, -errno on error.
*/
__EXPORT extern int hx_stream_send(hx_stream_t stream,
const void *data,