This fixes a wineboot crash on FreeBSD, where getaddrinfo() returns a NULL ai_canonname, causing wineboot to pass NULL to strchr().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50408
Signed-off-by: Damjan Jovanovic damjan.jov@gmail.com --- dlls/ws2_32/socket.c | 6 ++++++ 1 file changed, 6 insertions(+)