Skip to content
Commit c3ca5ada authored by Caspar Friedrich's avatar Caspar Friedrich Committed by Anas Nashif
Browse files

net: mqtt: Return meaningful error code from mqtt_init()



The condition checks whether the connection was established or not. The
return value should reflect that.

Signed-off-by: default avatarCaspar Friedrich <c.s.w.friedrich@gmail.com>
parent 71766f5c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment