Ensure IrOBEX_TransportConnect() returns error if it fails.
authorTommie Gannert <tommie@gannert.se>
Mon, 10 Feb 2014 22:11:33 +0000 (22:11 +0000)
committerHendrik Sattler <post@hendrik-sattler.de>
Thu, 13 Feb 2014 20:40:16 +0000 (21:40 +0100)
commit1affaf4b523769ff69c0b5f8679eb9fa5cfde46a
tree227c76e0a4f7d18027ce576895540e2e6bef66ca
parentd826c59f2bc499091da473e1cc447cc21984e74b
Ensure IrOBEX_TransportConnect() returns error if it fails.

If OBEX_EnumerateInterfaces() returns 0 (no interfaces found,)
IrOBEX_TransportConnect() should return e.g. -1.
lib/api.c