{"comment":{"url":"https://api.github.com/repos/libgit2/libgit2/comments/15148404","html_url":"https://github.com/libgit2/libgit2/commit/dd4ff2c9b53dc9c8ba623477ead3e05f9baf73a0#commitcomment-15148404","id":15148404,"user":{"login":"tfarina","id":970071,"avatar_url":"https://avatars.githubusercontent.com/u/970071?v=3","gravatar_id":"","url":"https://api.github.com/users/tfarina","html_url":"https://github.com/tfarina","followers_url":"https://api.github.com/users/tfarina/followers","following_url":"https://api.github.com/users/tfarina/following{/other_user}","gists_url":"https://api.github.com/users/tfarina/gists{/gist_id}","starred_url":"https://api.github.com/users/tfarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfarina/subscriptions","organizations_url":"https://api.github.com/users/tfarina/orgs","repos_url":"https://api.github.com/users/tfarina/repos","events_url":"https://api.github.com/users/tfarina/events{/privacy}","received_events_url":"https://api.github.com/users/tfarina/received_events","type":"User","site_admin":false},"position":121,"line":121,"path":"src/socket_stream.c","commit_id":"dd4ff2c9b53dc9c8ba623477ead3e05f9baf73a0","created_at":"2015-12-24T01:18:59Z","updated_at":"2015-12-24T01:18:59Z","body":"Why the cast to socklen_t here? Is it because on Windows ai_addrlen is size_t [1]? On POSIX it seems to be socklen_t[2].\r\n\r\n[1] - https://msdn.microsoft.com/en-us/library/windows/desktop/ms737530(v=vs.85).aspx\r\n[2] - http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netdb.h.html"}}