Formatted via astyle.

pull/9025/head
Terence Zhang 2018-12-11 16:50:14 +08:00
parent d3d1e0d30b
commit cc63a31eb3
1 changed files with 2 additions and 3 deletions

View File

@ -319,10 +319,9 @@ nsapi_size_or_error_t AT_CellularStack::socket_recvfrom(nsapi_socket_t handle, S
_at.unlock();
if (ret_val >= 0) {
if(addr){
if (addr) {
tr_info("Socket %d recv %d bytes from %s port %d", find_socket_index(socket), ret_val, addr->get_ip_address(), addr->get_port());
}
else{
} else {
tr_info("Socket %d recv %d bytes", find_socket_index(socket), ret_val);
}
} else if (ret_val != NSAPI_ERROR_WOULD_BLOCK) {