Closed bremoran closed 8 years ago
Cosmetic notes: Isn't @return redundant if there's @retval already? What about vertical break before those doxy blocks? There are in some files in this module.
Line 37 and one more: poitner typo.
+1
#define IPv64_PREFIX_STRLEN (sizeof(IPv64_PREFIX))
contain the terminator, which is not how strlen()
does it.
This leads to strncpy(buf, IPv64_PREFIX, IPv64_PREFIX_STRLEN);
also copying the terminator, which leads to problems when printing the buffer, since only ::ffff:
is printed without the actual IP ever being printed.
I think this PR is now dead, in favour of https://github.com/ARMmbed/sockets/pull/43
Please close
This should be completely resolved by other PRs now.
This PR corrects several problems identified during test coverage updates
cc @bogdanm @adbridge @niklas-arm @autopulated