Thread (4 messages) flat view 4 messages, 2 authors, 2012-08-10

Re: [PATCH BlueZ v3 1/3] rfcomm: Fix checking return value instead of errno

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-08-10 05:56:43

Hi Lucas,
We were checking by a positive return value instead of checking by -1
and errno. However when there's no support for TTY kernel returns
EOPNOTSUPP as usual, which in the end will have a return value of -1
and errno will be set to EOPNOTSUPP.
---
 tools/rfcomm.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
all 3 patches have been applied.

Regards

Marcel

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help