2003-01-10 15:40:13

by wim delvaux

[permalink] [raw]
Subject: [Bluez-users] better return code handling in rfcomm command

Hi all,

just found out that some errors do not cause rfcomm to retrun with exit != 0
It seems that the 'func' field in the command jump table should return int and
not void.

All commands can then return an error code (probably one that was generate by
an deeper function) and cause exit to return proper return values.

Patch attached


Attachments:
patch.gz (1.19 kB)