lwm2m: handle return code from lwm2m_socket_add
Handle return code from lwm2m_socket_add Signed-off-by: Kiril Petrov <retfie@gmail.com>
This commit is contained in:
parent
be4380f5e2
commit
539c3e7fa8
|
@ -4368,8 +4368,7 @@ int lwm2m_socket_start(struct lwm2m_ctx *client_ctx)
|
|||
return -errno;
|
||||
}
|
||||
|
||||
lwm2m_socket_add(client_ctx);
|
||||
return 0;
|
||||
return lwm2m_socket_add(client_ctx);
|
||||
}
|
||||
|
||||
int lwm2m_parse_peerinfo(char *url, struct sockaddr *addr, bool *use_dtls)
|
||||
|
|
Loading…
Reference in a new issue