oc_recvfrom_at: correctly set *addrlen

This commit is contained in:
Nikos Mavrogiannopoulos
2015-02-14 14:06:08 +01:00
parent 1b9fe50628
commit 82a0c334ba

View File

@@ -509,6 +509,7 @@ struct msghdr mh = {
}
#endif
}
*addrlen = mh.msg_namelen;
return ret;
}