Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect return value #14

Open
rsprat opened this issue Jan 9, 2017 · 0 comments
Open

Incorrect return value #14

rsprat opened this issue Jan 9, 2017 · 0 comments
Labels

Comments

@rsprat
Copy link

rsprat commented Jan 9, 2017

The file is:
src/aws_iot_lib/network_mbedtls_wrapper.cpp

server_fd.fd = (int) vm_socket(t_addr_in.sin_family, t_ai_socktype,
t_ai_protocol);
if (server_fd.fd < 0) {
ret_connect = MBEDTLS_ERR_NET_SOCKET_FAILED;
Serial.print("vm_socket error and ret value is ");
Serial.println(server_fd.fd);
return ret;
}

The return value should be server_fd.fd

@pablosun pablosun added the bug label Jan 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants