mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-02 03:06:31 -04:00
* changed inet_aton into bdnet_inet_aton for windows compatibility
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3304 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b5461e0544
commit
0049549eb7
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ bdStore::bdStore(std::string file, bdDhtFunctions *fns)
|
|||
{
|
||||
if (2 == sscanf(line, "%s %hd", addr_str, &port))
|
||||
{
|
||||
if (inet_aton(addr_str, &(addr.sin_addr)))
|
||||
if (bdnet_inet_aton(addr_str, &(addr.sin_addr)))
|
||||
{
|
||||
addr.sin_port = htons(port);
|
||||
bdPeer peer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue